M

Import

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2027).
Not present in: 2020, 2021, 2022
2027 current
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"></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.
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"></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.
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"></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.
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"></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.
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"></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.