<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 (2023).
2023 current

Changes in 2020 vs 2023 2 added 20 missing 1 changed

Flip API Versions →

Added in 2020 (new since 2023)

Missing in 2020 (only available in 2023)

Changed members

Document.Export(String, String, MassGBXMLExportOptions)
Became obsolete in 2023: This method is deprecated in Revit 2023 and may be removed in a later version of Revit. We suggest you use the 'Document.Export(String, String, GBXMLExportOptions)' method instead.
folder String Indicates the path of a folder where to export the gbXML file.
name String Indicates the name of the gbXML file to export. If it doesn't end with ".xml", extension ".xml" will be added automatically. The name cannot contain any of the following characters: \/:*?"<>|. Empty name is not acceptable.
options MassGBXMLExportOptions Options which control the contents of the export.

Changes in 2021 vs 2023 1 added 18 missing 1 changed

Flip API Versions →

Added in 2021 (new since 2023)

Missing in 2021 (only available in 2023)

Changed members

Document.Export(String, String, MassGBXMLExportOptions)
Became obsolete in 2023: This method is deprecated in Revit 2023 and may be removed in a later version of Revit. We suggest you use the 'Document.Export(String, String, GBXMLExportOptions)' method instead.
folder String Indicates the path of a folder where to export the gbXML file.
name String Indicates the name of the gbXML file to export. If it doesn't end with ".xml", extension ".xml" will be added automatically. The name cannot contain any of the following characters: \/:*?"<>|. Empty name is not acceptable.
options MassGBXMLExportOptions Options which control the contents of the export.

Changes in 2022 vs 2023 8 missing 1 changed

Flip API Versions →

Missing in 2022 (only available in 2023)

Changed members

Document.Export(String, String, MassGBXMLExportOptions)
Became obsolete in 2023: This method is deprecated in Revit 2023 and may be removed in a later version of Revit. We suggest you use the 'Document.Export(String, String, GBXMLExportOptions)' method instead.
folder String Indicates the path of a folder where to export the gbXML file.
name String Indicates the name of the gbXML file to export. If it doesn't end with ".xml", extension ".xml" will be added automatically. The name cannot contain any of the following characters: \/:*?"<>|. Empty name is not acceptable.
options MassGBXMLExportOptions Options which control the contents of the export.

Changes in 2025 vs 2023 6 added 1 missing 2 changed

Flip API Versions →

Added in 2025 (new since 2023)

Missing in 2025 (only available in 2023)

Changed members

Document.GetDocumentPreviewSettings()
→ returns DocumentPreviewSettings The preview settings.
Document.GetUnits()
→ returns Units The Units object.

Changes in 2025.3 vs 2023 7 added 1 missing 2 changed

Flip API Versions →

Added in 2025.3 (new since 2023)

Missing in 2025.3 (only available in 2023)

Changed members

Document.GetDocumentPreviewSettings()
→ returns DocumentPreviewSettings The preview settings.
Document.GetUnits()
→ returns Units The Units object.

Changes in 2026 vs 2023 8 added 1 missing 2 changed

Flip API Versions →

Added in 2026 (new since 2023)

Missing in 2026 (only available in 2023)

Changed members

Document.GetDocumentPreviewSettings()
→ returns DocumentPreviewSettings The preview settings.
Document.GetUnits()
→ returns Units The Units object.

Changes in 2027 vs 2023 8 added 1 missing 3 changed

Flip API Versions →

Added in 2027 (new since 2023)

Missing in 2027 (only available in 2023)

Changed members

Document.GetDocumentPreviewSettings()
→ returns DocumentPreviewSettings The preview settings.
Document.GetUnits()
→ returns Units The Units object.
Document.Import(String, AXMImportOptions, View)
No longer obsolete in 2023 (was obsolete in 2027)
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">null</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.