Creates a new radial grid line.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- document
- Type: Autodesk.Revit.DB Document
The document in which the new instance is created.
- arc
- Type: Autodesk.Revit.DB Arc
An arc object that represents the location of the new grid line.
Return Value
The newly created grid line.Remarks
The arc should be on a horizontal plane.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | document is not a project document. -or- The input arc is not on horizontal plane. |
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |