CompoundStructure.GetMaterialId
Description:
Retrieves the material element id of a specified layer.
Retrieves the material element id of a specified layer.
public ElementId GetMaterialId(
int layerIdx
)
-
Int32layerIdxIndex of a layer in the CompoundStructure. The layer index is zero based. It counts from the exterior of wall and from the top of roofs, floors and ceilings.
-
The layer index is out of range.