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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →