Disallow end wrapping at the location.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
public void DisallowWrappingAtLocation( int locationIndex)
locationIndexInt32
0 or 1 represents wall’s end, other number represents the wrapping locations on vertical faces of openings or profiles.
Exception
Condition
This location is invalid for wrapping.
If Wrapping At Ends in wall type is set to none, this function does nothing. If the location is invalid, for example: wall doesn’t have this location or the location is joined, this function throws ArgumentException.