M

Import

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2025).
Identical to 2025: 2023, 2024, 2025.3, 2026
Not present in: 2020, 2021, 2022
2025 current
Document.Import(String, AXMImportOptions, View)
No longer obsolete in 2025 (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"><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.