2024 Class
Changes 4
C

AXMImportOptions

Description:
The import options used to import AXM format files.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.BaseImportOptions
    Autodesk.Revit.DB.AXMImportOptions
Name Return Type Description Inherited From
C AXMImportOptions() None Constructs a new instance of AXMImportOptions with default values of all properties.
C AXMImportOptions(AXMImportOptions) None Constructs a new instance of AXMImportOptions as a copy of the provided import options.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the BaseImportOptions
M GetDefaultLengthUnit() ForgeTypeId Get the default length unit used for importing unitless files. BaseImportOptions
M GetLayerSelection() ICollection<string> Get all set layers name which user want to import into Revit. BaseImportOptions
M SetDefaultLengthUnit(ForgeTypeId) None Set the default length unit used for importing unitless files. BaseImportOptions
M SetLayerSelection(ICollection<String>) None Set the layers name which user want to import into Revit. BaseImportOptions
Name Return Type Description Inherited From
P ImportLevels bool Indicate if levels are to be imported. False by default.
P AutoCorrectAlmostVHLines bool Correct almost-vertical lines and almost-horizontal lines for import model if option is set to true, the almost-vertical lines would be vertical lines and almost-horizontal lines would be horizontal lines. BaseImportOptions
P ColorMode ImportColorMode Color mode for the import. Three modes are supported. Black and White, Preserve Colors, and Invert Colors. BaseImportOptions
P CustomScale double Scaling the import. If this is defined and a valid value (> 0.0), it takes priority over units. BaseImportOptions
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. BaseImportOptions
P OrientToView bool Place the import at the same orientation as the view that was passed into the import method. This option can only be used when not importing into a single view.(i.e. ThisViewOnly is set to false) BaseImportOptions
P Placement ImportPlacement Where to place the import. Set this option to place the view at the origin or the center, or a shared coordinates. BaseImportOptions
P ReferencePoint XYZ The 3D point in the document where the imported instance will be inserted. If not explicitly set, the instance will be inserted at the document origin. BaseImportOptions
P ThisViewOnly bool Imports drawings into the view that was passed into the import method. This option is not available in 3D views. BaseImportOptions
P Unit ImportUnit The unit of measure for imported geometry. BaseImportOptions
P VisibleLayersOnly bool Only import the visible layers. BaseImportOptions