RVTDocs.com

CompoundStructure.GetMaterialId

Method
Description:
Retrieves the material element id of a specified layer.
Syntax
public ElementId GetMaterialId(
	int layerIdx
)
Parameters
Parameter Type Description
layerIdx Int32 Index of a layer in the CompoundStructure.
Return Value
Type Description
ElementId The material element id.
Exceptions
Exception Condition
ArgumentOutOfRangeException The layer index is out of range.