FabricationPartMaterial Property |
The fabrication material identifier.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic int Material { get; set; }
Public Property Material As Integer
Get
Set
public:
property int Material {
int get ();
void set (int value);
}
member Material : int with get, set
Property Value
Int32
ExceptionsException | Condition |
---|
ArgumentException |
When setting this property: the material is not valid for the fabrication part's specification.
|
InvalidOperationException |
When setting this property: the material is not able to be modified.
-or-
When setting this property: the fabrication part is connected to more than one item.
-or-
When setting this property: the material fails to be set by identifier: materialId.
|
See Also