Share

Document Properties

The Document type exposes the following members.

Properties

 NameDescription
Public propertyActiveProjectLocationRetrieve the active project location.
Public propertyCode exampleActiveViewThe document's active view.
Public propertyApplicationReturns the Application in which the Document resides.
Public propertyCreateAn object that can be used to create new instances of Autodesk Revit API elements within a project.
Public propertyCreationGUID A unique identifier generated when the Document was first created.
Public propertyDisplayUnitSystemProvides access to display unit type with in the document.
Public propertyFamilyCreateAn object that can be used to create new instances of Autodesk Revit API elements within a family document.
Public propertyFamilyManagerThe family manager object provides access to family types and parameters.
Public propertyIsDetached Identifies if a workshared document is detached. Also, see IsWorkshared
Public propertyIsFamilyDocumentIdentifies if the current document is a family document.
Public propertyIsLinked Identifies if a document is a linked RVT.
Public propertyIsModelInCloud Identifies if document is stored on Autodesk cloud services.
Public propertyIsModifiable Identifies if the document is modifiable.
Public propertyIsModified The state of changes made to the document.
Public propertyIsReadOnly Identifies if the document is read-only or can possibly be modified.
Public propertyIsReadOnlyFile Signals whether the document was opened from a read-only file.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyIsWorkshared Identifies if worksharing (i.e. editing permissions and multiple worksets) have been enabled in the document. Also, see IsDetached
Public propertyMassDisplayTemporaryOverride This setting controls temporary display in views of objects with mass category or subcategories.
Public propertyMullionTypesThis property is used to retrieve all the mullion types in current system.
Public propertyCode exampleOwnerFamilyGet the Family of this Family Document.
Public propertyPanelTypesRetrieves a set of PanelType objects that contains all the panel types that are currently loaded into the project.
Public propertyParameterBindingsRetrieves an object from which mappings between parameter definitions and categories can be found.
Public propertyCode examplePathName The fully qualified path of the document's disk file.
Public propertyCode examplePhasesRetrieves all of the phases in the document.
Public propertyPlanTopologiesGet the PlanTopologies of the current project in the last phase.
Public propertyPlanTopologies[Phase]Gets the PlanTopologies of the current project in a given phase.
Public propertyPlanTopology[Level]Get the PlanTopology of a given level in the last phase.
Public propertyPlanTopology[Level, Phase]Get the PlanTopology of a given level in a given phase.
Public propertyPrintManager Retrieve the PrintManager of current project.
Public propertyProjectInformationReturn the Project Information of the current project.
Public propertyProjectLocationsRetrieve all the project locations associated with this project
Public propertyReactionsAreUpToDateReports if the analytical model has regenerated in a document with reaction loads.
Public propertySettingsProvides access to general application settings, such as Categories.
Public propertySiteLocationReturns the site location information.
Public propertyTitle The document's title.
Public propertyTypeOfStorageGet the storage type of the specified BuiltInParameter.
Public propertyWorksharingCentralGUID The central GUID of the server-based model.

See Also

Reference

Was this information helpful?