GridCreate(Document, Line) Method |
Creates a new grid line.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static Grid Create(
Document document,
Line line
)
Public Shared Function Create (
document As Document,
line As Line
) As Grid
public:
static Grid^ Create(
Document^ document,
Line^ line
)
static member Create :
document : Document *
line : Line -> Grid
Parameters
- document Document
-
The document in which the new instance is created.
- line Line
-
A line which represents the location of the grid line.
Return Value
Grid
The newly created grid.
Exceptions
Remarks
The line should be on a horizontal plane.
See Also