RVTDocs.com
Namespace: Autodesk.Revit.DB

DGNImportOptions

Class
Description:
The import options used to import DGN format files.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.BaseImportOptions
    Autodesk.Revit.DB.DGNImportOptions
Syntax
DGNImportOptions Class Members:
Name Description Inherited From
DGNImportOptions() Constructs a new instance of DGNImportOptions with default values of all properties.
DGNImportOptions(DGNImportOptions) Constructs a new instance of DGNImportOptions as a copy of the import options.
Name Description Inherited From
AutoCorrectAlmostVHLines 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. (Inherited from BaseImportOptions ) BaseImportOptions
ColorMode Color mode for the import. Three modes are supported. Black and White, Preserve Colors, and Invert Colors. (Inherited from BaseImportOptions ) BaseImportOptions
CustomScale Scaling the import. If this is defined and a valid value (> 0.0), it takes priority over units. (Inherited from BaseImportOptions ) BaseImportOptions
DGNModelViewName The model view name to be imported. Need user give a model view name to specify which model view need to be imported into Revit
IgnoreUnsupportedElementWarning If true, ignore warning messages about unsupported elements in the DGN file. If false, the import process is aborted if imported dgn files have unsupported elements.
IsValidObject Specifies whether the .NET object represents a valid Revit entity. (Inherited from BaseImportOptions ) BaseImportOptions
OrientToView 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) (Inherited from BaseImportOptions ) BaseImportOptions
Placement Where to place the import. Set this option to place the view at the origin or the center, or a shared coordinates. (Inherited from BaseImportOptions ) BaseImportOptions
ReferencePoint 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. (Inherited from BaseImportOptions ) BaseImportOptions
ThisViewOnly Imports drawings into the view that was passed into the import method. This option is not available in 3D views. (Inherited from BaseImportOptions ) BaseImportOptions
Unit The unit of measure for imported geometry. (Inherited from BaseImportOptions ) BaseImportOptions
VisibleLayersOnly Only import the visible layers. (Inherited from BaseImportOptions ) BaseImportOptions
Name Description Inherited From
Dispose (Inherited from BaseImportOptions ) BaseImportOptions
Equals Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
GetDefaultLengthUnit Get the default length unit used for importing unitless files. (Inherited from BaseImportOptions ) BaseImportOptions
GetHashCode Serves as the default hash function. (Inherited from Object ) Object
GetLayerSelection Get all set layers name which user want to import into Revit. (Inherited from BaseImportOptions ) BaseImportOptions
GetType Gets the Type of the current instance. (Inherited from Object ) Object
SetDefaultLengthUnit Set the default length unit used for importing unitless files. (Inherited from BaseImportOptions ) BaseImportOptions
SetLayerSelection Set the layers name which user want to import into Revit. (Inherited from BaseImportOptions ) BaseImportOptions
ToString Returns a string that represents the current object. (Inherited from Object ) Object