Revit 2025.3 API
ApplicationNew |
Creates a new project document with no template file specified.
Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public Document NewProjectDocument( UnitSystem unitSystem )
Public Function NewProjectDocument ( unitSystem As UnitSystem ) As Document
public: Document^ NewProjectDocument( UnitSystem unitSystem )
member NewProjectDocument : unitSystem : UnitSystem -> Document
Parameters
- unitSystem UnitSystem
- The unit system used for the new document.
Return Value
DocumentThe newly created document.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also