GridType Property


Get and Set the type of the grid object.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public GridType GridType { get; set; }
Visual Basic
Public Property GridType As GridType
	Get
	Set
Visual C++
public:
property GridType^ GridType {
	GridType^ get ();
	void set (GridType^ value);
}

Remarks

When a null reference ( Nothing in Visual Basic) is input for the method set, ArgumentNullException will be thrown.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →