CompoundStructure.GetMaterialId
Method
Description:
Retrieves the material element id of a specified layer.
Retrieves the material element id of a specified layer.
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. |