2027 Method
Changes 0
M

CompoundStructure.CreateSingleLayerCompoundStructure

Description:
Creates a CompoundStructure containing a single layer.
Remarks:
It is not verified that materialId corresponds to a valid Material element.
Overloads (2):
CreateSingleLayerCompoundStructure(MaterialFunctionAssignment,Double,ElementId)
public static CompoundStructure CreateSingleLayerCompoundStructure(
	MaterialFunctionAssignment layerFunction,
	double width,
	ElementId materialId
)
  • layerFunction
    The function of the single layer.
  • Double
    width
    The width of the single layer.
  • materialId
    The ElementId of the material for the single layer.
Return Value CompoundStructure The newly created compound structure.
  • A non-optional argument was null
  • The given value for width must be greater than 0 and no more than 30000 feet. -or- A value passed for an enumeration argument is not a member of that enumeration