<Code Lib>
2025.3 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.
  • materialId
    The ElementId of a Material element.

Loading…