Wall.AllowWrappingAtLocation
Method
Description:
Allow end wrapping at the location.
Allow end wrapping at the location.
Remarks:
If Wrapping At Ends in wall type is set to none, this function throws InvalidOperationException If the location is invalid, for example: wall doesn't have this location or the location is joined, this function throws ArgumentException.
If Wrapping At Ends in wall type is set to none, this function throws InvalidOperationException If the location is invalid, for example: wall doesn't have this location or the location is joined, this function throws ArgumentException.
Parameters
Parameter | Type | Description |
---|---|---|
locationIndex | Int32 | 0 or 1 represents wall's end, other number represents the wrapping locations on vertical faces of openings or profiles. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | This location is invalid for wrapping. |
InvalidOperationException | End wrapping is disabled in wall type. |