Revit 2025.3 API
Fabrication |
Gets all material identifiers in the fabrication configuration.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public IList<int> GetAllMaterials( FabricationPart part )
Public Function GetAllMaterials ( part As FabricationPart ) As IList(Of Integer)
public: IList<int>^ GetAllMaterials( FabricationPart^ part )
member GetAllMaterials : part : FabricationPart -> IList<int>
Parameters
- part FabricationPart
- The fabrication part.
Return Value
IListInt32An array of material identifiers.

If a part is passed, only returns materials which are valid for the part, otherwise returns all materials.
See Also