CompoundStructure.CreateSingleLayerCompoundStructure
Description:
Creates a vertically compound CompoundStructure with one layer.
Creates a vertically compound CompoundStructure with one layer.
Remarks:
It is not verified that materialId corresponds to a valid MaterialElem.
It is not verified that materialId corresponds to a valid MaterialElem.
Overloads (2):
CreateSingleLayerCompoundStructure(Double,MaterialFunctionAssignment,Double,ElementId)
public static CompoundStructure CreateSingleLayerCompoundStructure(
double sampleHeight,
MaterialFunctionAssignment layerFunction,
double width,
ElementId materialId
)
-
DoublesampleHeightThe sample height of this vertically compound structure.
-
layerFunctionThe function of the single layer.
-
DoublewidthThe width of the single layer.
-
materialIdThe ElementId of the material for the single layer.
-
A non-optional argument was null
-
The given value for sampleHeight must be greater than 0 and no more than 30000 feet. -or- 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