Share

Application.NewProjectDocument(UnitSystem) Method

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

Document
The newly created document.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

Reference

Was this information helpful?