SetParticipatesInWrapping Method


Assigns if a layer is included in wrapping at inserts and ends.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public void SetParticipatesInWrapping(
	int layerIdx,
	bool participatesInWrapping
)
Visual Basic
Public Sub SetParticipatesInWrapping ( _
	layerIdx As Integer, _
	participatesInWrapping As Boolean _
)
Visual C++
public:
void SetParticipatesInWrapping(
	int layerIdx, 
	bool participatesInWrapping
)

Parameters

layerIdx
Type: SystemInt32
The index of the layer.
participatesInWrapping
Type: SystemBoolean
True if the specified layer will participate in wrapping at inserts and ends, false otherwise.

Remarks

This method applies only to interior and exterior shell layers.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException The wrapping of the layer is not valid.
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The layer index is out of range.

See Also