| Revit 2020 API |
| FabricationConfiguration..::..GetAllMaterials Method |
| FabricationConfiguration Class See Also |
Gets all material identifiers in the fabrication configuration.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since:
2016
Syntax
| C# |
|---|
public IList<int> GetAllMaterials( FabricationPart part ) |
| Visual Basic |
|---|
Public Function GetAllMaterials ( _ part As FabricationPart _ ) As IList(Of Integer) |
| Visual C++ |
|---|
public: IList<int>^ GetAllMaterials( FabricationPart^ part ) |
Parameters
- part
- Type: Autodesk.Revit.DB..::..FabricationPart
The fabrication part.
Return Value
An array of material identifiers.
Remarks
If a part is passed, only returns materials which are valid for the part, otherwise returns all materials.