CompoundStructure.SetLayer
Description:
Sets a single layer for this CompoundStructure.
Sets a single layer for this CompoundStructure.
Remarks:
This function does not support addition of new layers, use SetLayers() to change the number of layers.
This function does not support addition of new layers, use SetLayers() to change the number of layers.
public void SetLayer(
int layerIdx,
CompoundStructureLayer layer
)
-
Int32layerIdxThe index of a layer. This should range from 0 to the number of layers - 1.
-
layerThe layer to be set.
-
The layer is not valid for this operation.
-
A non-optional argument was NULL
-
The layer index is out of range.
-
This operation is valid only for non-vertically compound structures.