Creates a new project document with no template file specified.
Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public Document NewProjectDocument( UnitSystem unitSystem )
Parameters
- unitSystem UnitSystem
- The unit system used for the new document.
Return Value
DocumentThe newly created document.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |