Set the Layout property to None.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void SetLayoutNone()
Remarks
No internal lines will be
generated, but the effect is equivalent to having two
lines, one at each end of the region.
See Also
Reference