An object that can be used to create new instances of Autodesk Revit API elements
within a project.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public Document Create { get; }
Property Value
DocumentThis object is used to create new instances of project elements within the Autodesk Revit API, such as FamilyInstances or groups.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the current document is family document. |