CompoundStructure.SetLayerFunction
Method
Description:
Sets the function of the specified layer.
Sets the function of the specified layer.
Parameters
| Parameter | Type | Description |
|---|---|---|
| layerIdx | Int32 | Index of a layer in the CompoundStructure. |
| function | MaterialFunctionAssignment | The function of the layer. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The layer index is out of range. -or- A value passed for an enumeration argument is not a member of that enumeration |