Gets the internal origin for the document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2020.2
Syntax
| C# |
|---|
public static InternalOrigin Get( Document document ) |
| Visual Basic |
|---|
Public Shared Function Get ( _ document As Document _ ) As InternalOrigin |
| Visual C++ |
|---|
public: static InternalOrigin^ Get( Document^ document ) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
Revit document from which to get the internal origin.
Return Value
The internal origin of the document.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |