Revit 2025.3 API
Compound |
Indicates the layer whose material defines the structural properties of the type for the purposes of analysis.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public int StructuralMaterialIndex { get; set; }
Public Property StructuralMaterialIndex As Integer Get Set
public: property int StructuralMaterialIndex { int get (); void set (int value); }
member StructuralMaterialIndex : int with get, set
Property Value
Int32The index of the layer containing the structural material properties.

Exception | Condition |
---|---|
ArgumentException | When setting this property: The specified layer cannot define the structural material properties of the type. |
ArgumentOutOfRangeException | When setting this property: The layer index is invalid. |
See Also