<Code Lib>
C

Document

Version comparison

Members across versions

177 members across 9 versions · 28 added later · 3 removed · 6 changed · 4 obsolete

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M AcquireCoordinates(ElementId)
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
M Close
same same same same same same same same same
M Close(Boolean)
same same same same same same same same same
M CombineElements(CombinableElementArray)
same same same same same same same same same
M ConvertDetailToModelCurves(View, DetailCurveArray)
same same same same same same same same same
M ConvertModelToDetailCurves(View, ModelCurveArray)
same same same same same same same same same
M ConvertModelToSymbolicCurves(View, ModelCurveArray)
same same same same same same same same same
M ConvertSymbolicToModelCurves(View, SymbolicCurveArray)
same same same same same same same same same
M Delete(ElementId)
same same same same same same same same same
M Delete(ICollection<ElementId>)
same same same same same same same same same
same same same same same same same same same
M EditFamily(Family)
same same same same same same same same same
same same same same same same same same same
M EnableWorksharing(String, String)
same same same same same same same same same
M Equals(Object)
same same same same same same same same same
not yet introduced added same same same same same same same
M Export(String, String, STEPExportOptions)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
M Export(String, String, ViewSet, DWFExportOptions)
same same same same same same same same same
M Export(String, String, MassGBXMLExportOptions)
same same same changed missing missing missing missing missing
M Export(String, String, OBJExportOptions)
not yet introduced not yet introduced not yet introduced added same same same same same
M Export(String, IList<ElementId>, PDFExportOptions)
not yet introduced not yet introduced added same same same same same same
M Export(String, String, STLExportOptions)
not yet introduced not yet introduced added same same same same same same
M Export(String, String, ICollection<ElementId>, DWGExportOptions)
same same same same same same same same same
M Export(String, String, IFCExportOptions)
same same same same same same same same same
M Export(String, String, ViewSet, DWFXExportOptions)
same same same same same same same same same
M Export(String, String, ViewSet, FBXExportOptions)
same same same same same same same same same
M Export(String, String, ICollection<ElementId>, DGNExportOptions)
same same same same same same same same same
M Export(String, String, ICollection<ElementId>, DXFExportOptions)
same same same same same same same same same
M Export(String, String, ICollection<ElementId>, SATExportOptions)
same same same same same same same same same
M Export(String, String, NavisworksExportOptions)
same same same same same same same same same
M Export(String, String, GBXMLExportOptions)
same same same same same same same same same
M ExportImage(ImageExportOptions)
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M GetAllUnusedElements(ISet<ElementId>)
not yet introduced not yet introduced not yet introduced not yet introduced added changed same same same
not yet introduced not yet introduced not yet introduced added same same same same same
M GetCloudFolderId(Boolean)
not yet introduced not yet introduced added same same same same same same
same same same same same same same same same
not yet introduced not yet introduced added same same same same same same
M GetDefaultElementTypeId(ElementTypeGroup)
same same same same same same same same same
M GetDefaultFamilyTypeId(ElementId)
same same same same same same same same same
same same same same same changed same same same
M GetDocumentVersion(Document)
same same same same same same same same same
M GetElement(Reference)
same same same same same same same same same
M GetElement(String)
same same same same same same same same same
M GetElement(ElementId)
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced added same same same same same same
M GetPaintedMaterial(ElementId, Face)
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced added same same same same same same
M GetRoomAtPoint(XYZ, Phase)
same same same same same same same same same
same same same same same same same same same
M GetSpaceAtPoint(XYZ, Phase)
same same same same same same same same same
same same same same same same same same same
M GetSubelement(Reference)
same same same same same same same same same
M GetSubelement(ElementId, Int32)
same same same same same same same same same
M GetSubelement(String)
same same same same same same same same same
M GetTypeOfStorage(ForgeTypeId)
not yet introduced not yet introduced added same same same same same same
same same same same same changed same same same
M GetUnusedElements(ISet<ElementId>)
not yet introduced not yet introduced not yet introduced not yet introduced added same same same same
same same same same same same same same same
M GetWorksetId(ElementId)
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
M Import(String, OBJImportOptions, View)
not yet introduced not yet introduced not yet introduced added same same same same same
M Import(String, DWGImportOptions, View, ElementId%)
same same same same same same same same same
M Import(String, AXMImportOptions, View)
not yet introduced not yet introduced not yet introduced added same same same same changed
M Import(String, STLImportOptions, View)
not yet introduced not yet introduced not yet introduced added same same same same same
M Import(String, SATImportOptions, View)
same same same same same same same same same
M Import(String, ImportOptions3DM, View)
not yet introduced not yet introduced added same same same same same same
M Import(String, SKPImportOptions, View)
same same same same same same same same same
M Import(String, GBXMLImportOptions)
same same same same same same same same same
M Import(String, STEPImportOptions, View)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
M Import(String, DGNImportOptions, View, ElementId%)
same same same same same same same same same
M Import(String, ImageImportOptions, View, Element%)
same missing missing missing missing missing missing missing missing
same same same same same same same same same
M IsDefaultElementTypeIdValid(ElementTypeGroup, ElementId)
same same same same same same same same same
M IsDefaultFamilyTypeIdValid(ElementId, ElementId)
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same
M IsPainted(ElementId, Face)
same same same same same same same same same
M IsValidVersionGUID(Document, Guid)
not yet introduced not yet introduced not yet introduced added same same same same same
M Link(String, STLImportOptions, View)
not yet introduced not yet introduced not yet introduced added same same same same same
M Link(String, ImportOptions3DM, View)
not yet introduced not yet introduced added same same same same same same
M Link(String, STEPImportOptions, View)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
M Link(String, SATImportOptions, View)
same same same same same same same same same
M Link(String, DWFImportOptions)
same same same same same same same same same
M Link(String, SKPImportOptions, View)
same same same same same same same same same
M Link(String, DGNImportOptions, View, ElementId%)
same same same same same same same same same
M Link(String, OBJImportOptions, View)
not yet introduced not yet introduced not yet introduced added same same same same same
M Link(String, DWGImportOptions, View, ElementId%)
same same same same same same same same same
M LoadFamily(String, Family%)
same same same same same same same same same
M LoadFamily(String, IFamilyLoadOptions, Family%)
same same same same same same same same same
M LoadFamily(Document)
same same same same same same same same same
M LoadFamily(Document, IFamilyLoadOptions)
same same same same same same same same same
M LoadFamily(String)
same same same same same same same same same
M LoadFamilySymbol(String, String, IFamilyLoadOptions, FamilySymbol%)
same same same same same same same same same
M LoadFamilySymbol(String, String, FamilySymbol%)
same same same same same same same same same
M LoadFamilySymbol(String, String)
same same same same same same same same same
M MakeTransientElements(ITransientElementMaker)
same same same same same same same same same
M Paint(ElementId, Face, FamilyParameter)
same same same same same same same same same
M Paint(ElementId, Face, ElementId)
same same same same same same same same same
M PostFailure(FailureMessage)
same same same same same same same same same
M Print(ViewSet, Boolean)
same same same same same same same same same
M Print(ViewSet, View)
same same same same same same same same same
M Print(ViewSet, View, Boolean)
same same same same same same same same same
M Print(ViewSet)
same same same same same same same same same
M PublishCoordinates(LinkElementId)
same same same same same same same same same
same same same same same same same same same
M ReloadLatest(ReloadLatestOptions)
same same same same same same same same same
M RemovePaint(ElementId, Face)
same same same same same same same same same
not yet introduced not yet introduced added same same same same same same
M Save(SaveOptions)
same same same same same same same same same
M Save
same same same same same same same same same
M SaveAs(String)
same same same same same same same same same
M SaveAs(String, SaveAsOptions)
same same same same same same same same same
M SaveAs(ModelPath, SaveAsOptions)
same same same same same same same same same
M SaveAsCloudModel(String, String)
same changed missing missing missing missing missing missing missing
M SaveAsCloudModel(Guid, Guid, String, String)
not yet introduced added same same same same same same same
same same same same same same same same same
M SaveToProjectAsImage(ImageExportOptions)
same same same same same same same same same
M SeparateElements(CombinableElementArray)
same same same same same same same same same
M SetDefaultElementTypeId(ElementTypeGroup, ElementId)
same same same same same same same same same
M SetDefaultFamilyTypeId(ElementId, ElementId)
same same same same same same same same same
M SetUnits(Units)
same same same same same same same same same
M SynchronizeWithCentral(TransactWithCentralOptions, SynchronizeWithCentralOptions)
same same same same same same same same same
M UnpostFailure(FailureMessageKey)
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
P Create
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced added same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
P Phases
same same same same same same same same same
same same same same same same same same same
P PlanTopologies(Phase)
same same same same same same same same same
P PlanTopology(Level, Phase)
same same same same same same same same same
P PlanTopology(Level)
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
P Title
same same same same same same same same same
P TypeOfStorage(BuiltInParameter)
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2027).
2027 current

Changes in 2023 vs 2027 1 added 8 missing 3 changed

Flip API Versions →

Added in 2023 (new since 2027)

Missing in 2023 (only available in 2027)

Changed members

Document.GetDocumentPreviewSettings()
→ returns DocumentPreviewSettings The preview settings.
Document.GetUnits()
→ returns Units The Units object.
Document.Import(String, AXMImportOptions, View)
Became obsolete in 2027: This method is deprecated in Revit 2027 and may be removed in a later version of Revit. We suggest using another file format such as SAT, STL, or OBJ to mediate the import.
file String Full path of the file to import. File must exist and must be a valid AXM file.
options AXMImportOptions Various import options applicable to the AXM format. If <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTC0AC9968_1">null</span></span>, all options will be set to their respective default values. Import FormIt support Preserve color mode, center-to-center and origin-to-origin placement, other options are not supported. Import FormIt does not support orient to view and this view only option.
pDBView View View used to aid placement of the imported file. If the options specify center-to-center placement, this argument is required and the imported file will be placed in the center of the specified view. Otherwise, this view is used to obtain a base level to associate with the imported file. If not specified, an existing view will be chosen instead and may open a view or associate the imported file to an arbitrary level.
→ returns ElementId Returns the element Id of the imported instance.

Changes in 2024 vs 2027 5 missing 4 changed

Flip API Versions →

Missing in 2024 (only available in 2027)

Changed members

Document.GetAllUnusedElements(ISet<ElementId>)
categories ISet<ElementId> Collection of categories to check for unused elements.
→ returns ISet Unused element ids.
Document.GetDocumentPreviewSettings()
→ returns DocumentPreviewSettings The preview settings.
Document.GetUnits()
→ returns Units The Units object.
Document.Import(String, AXMImportOptions, View)
Became obsolete in 2027: This method is deprecated in Revit 2027 and may be removed in a later version of Revit. We suggest using another file format such as SAT, STL, or OBJ to mediate the import.
file String Full path of the file to import. File must exist and must be a valid AXM file.
options AXMImportOptions Various import options applicable to the AXM format. If <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTC0AC9968_1">null</span></span>, all options will be set to their respective default values. Import FormIt support Preserve color mode, center-to-center and origin-to-origin placement, other options are not supported. Import FormIt does not support orient to view and this view only option.
pDBView View View used to aid placement of the imported file. If the options specify center-to-center placement, this argument is required and the imported file will be placed in the center of the specified view. Otherwise, this view is used to obtain a base level to associate with the imported file. If not specified, an existing view will be chosen instead and may open a view or associate the imported file to an arbitrary level.
→ returns ElementId Returns the element Id of the imported instance.

Changes in 2025 vs 2027 2 missing 1 changed

Flip API Versions →

Missing in 2025 (only available in 2027)

Changed members

Document.Import(String, AXMImportOptions, View)
Became obsolete in 2027: This method is deprecated in Revit 2027 and may be removed in a later version of Revit. We suggest using another file format such as SAT, STL, or OBJ to mediate the import.
file String Full path of the file to import. File must exist and must be a valid AXM file.
options AXMImportOptions Various import options applicable to the AXM format. If <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTC0AC9968_1">null</span></span>, all options will be set to their respective default values. Import FormIt support Preserve color mode, center-to-center and origin-to-origin placement, other options are not supported. Import FormIt does not support orient to view and this view only option.
pDBView View View used to aid placement of the imported file. If the options specify center-to-center placement, this argument is required and the imported file will be placed in the center of the specified view. Otherwise, this view is used to obtain a base level to associate with the imported file. If not specified, an existing view will be chosen instead and may open a view or associate the imported file to an arbitrary level.
→ returns ElementId Returns the element Id of the imported instance.

Changes in 2025.3 vs 2027 1 missing 1 changed

Flip API Versions →

Missing in 2025.3 (only available in 2027)

Changed members

Document.Import(String, AXMImportOptions, View)
Became obsolete in 2027: This method is deprecated in Revit 2027 and may be removed in a later version of Revit. We suggest using another file format such as SAT, STL, or OBJ to mediate the import.
file String Full path of the file to import. File must exist and must be a valid AXM file.
options AXMImportOptions Various import options applicable to the AXM format. If <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTC0AC9968_1">null</span></span>, all options will be set to their respective default values. Import FormIt support Preserve color mode, center-to-center and origin-to-origin placement, other options are not supported. Import FormIt does not support orient to view and this view only option.
pDBView View View used to aid placement of the imported file. If the options specify center-to-center placement, this argument is required and the imported file will be placed in the center of the specified view. Otherwise, this view is used to obtain a base level to associate with the imported file. If not specified, an existing view will be chosen instead and may open a view or associate the imported file to an arbitrary level.
→ returns ElementId Returns the element Id of the imported instance.

Changes in 2026 vs 2027 1 changed

Flip API Versions →

Changed members

Document.Import(String, AXMImportOptions, View)
Became obsolete in 2027: This method is deprecated in Revit 2027 and may be removed in a later version of Revit. We suggest using another file format such as SAT, STL, or OBJ to mediate the import.
file String Full path of the file to import. File must exist and must be a valid AXM file.
options AXMImportOptions Various import options applicable to the AXM format. If <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTC0AC9968_1">null</span></span>, all options will be set to their respective default values. Import FormIt support Preserve color mode, center-to-center and origin-to-origin placement, other options are not supported. Import FormIt does not support orient to view and this view only option.
pDBView View View used to aid placement of the imported file. If the options specify center-to-center placement, this argument is required and the imported file will be placed in the center of the specified view. Otherwise, this view is used to obtain a base level to associate with the imported file. If not specified, an existing view will be chosen instead and may open a view or associate the imported file to an arbitrary level.
→ returns ElementId Returns the element Id of the imported instance.