RVTDocs.com
Namespace: Autodesk.Revit.DB Class: CurtainGrid

CurtainGrid.AddGridLine

Method
Description:
Add a grid line to the curtain grid.
Syntax
public CurtainGridLine AddGridLine(
	bool isUGridLine,
	XYZ position,
	bool oneSegmentOnly
)
Parameters
Parameter Type Description
isUGridLine Boolean If true, a U-direction grid line will be added. Otherwise, a V-direction grid line will be added.
position XYZ The position of the grid line.
oneSegmentOnly Boolean If it is true, only one segment is added. Otherwise, all segments will be added for the grid line.
Return Value
Type Description
CurtainGridLine The created grid line is returned if the operation is successful. Otherwise, is returned.
Exceptions
Exception Condition
InvalidOperationException Thrown if the position for the grid line is out of range.