Revit 2025.3 API
GridCreate(Document, Arc) Method |
Creates a new radial grid line.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static Grid Create( Document document, Arc arc )
Public Shared Function Create ( document As Document, arc As Arc ) As Grid
public: static Grid^ Create( Document^ document, Arc^ arc )
static member Create : document : Document * arc : Arc -> Grid
Parameters
- document Document
- The document in which the new instance is created.
- arc Arc
- An arc object that represents the location of the new grid line.
Return Value
GridThe newly created grid line.
| Exception | Condition |
|---|---|
| ArgumentException | document is not a project document. -or- The input arc is not on horizontal plane. |
| ArgumentNullException | A non-optional argument was null |
The arc should be on a horizontal plane.
See Also