RVTDocs.com

CompoundStructure.SetLayerFunction

Method
Description:
Sets the function of the specified layer.
Syntax
public void SetLayerFunction(
	int layerIdx,
	MaterialFunctionAssignment function
)
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