CurtainGrid.AddGridLine
Description:
Add a grid line to the curtain grid.
Add a grid line to the curtain grid.
public CurtainGridLine AddGridLine(
bool isUGridLine,
XYZ position,
bool oneSegmentOnly
)
-
BooleanisUGridLineIf true, a U-direction grid line will be added. Otherwise, a V-direction grid line will be added.
-
positionThe position of the grid line.
-
BooleanoneSegmentOnlyIf it is true, only one segment is added. Otherwise, all segments will be added for the grid line.
Return Value
nullNothingnullptr
The created grid line is returned if the operation is successful. Otherwise, null Nothing nullptr a null reference ( Nothing in Visual Basic) is returned.
-
Thrown if the position for the grid line is out of range.