2027 Method
Changes 0
M

CompoundStructure.SetMaterialId

Description:
Sets a material element for a specified layer.
Remarks:
It is not verified that materialId corresponds to a valid Material element.
public void SetMaterialId(
	int layerIdx,
	ElementId materialId
)
  • Int32
    layerIdx
    Index 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.
  • materialId
    The ElementId of a Material element.