Gets all material identifiers in the fabrication configuration.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
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.