DGNImportOptions
Description:
The import options used to import DGN format files.
The import options used to import DGN format files.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.BaseImportOptions
Autodesk.Revit.DB.DGNImportOptions
System.Object
Autodesk.Revit.DB.BaseImportOptions
Autodesk.Revit.DB.DGNImportOptions
public class DGNImportOptions : BaseImportOptions
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| DGNImportOptions() | None | Constructs a new instance of DGNImportOptions with default values of all properties. | |
| DGNImportOptions(DGNImportOptions) | None | Constructs a new instance of DGNImportOptions as a copy of the import options. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the | BaseImportOptions |
| GetLayerSelection() | ICollection<string> | Get all set layers name which user want to import into Revit. | BaseImportOptions |
| SetLayerSelection(ICollection<String>) | None | Set the layers name which user want to import into Revit. | BaseImportOptions |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| DGNModelViewName | string | 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 | bool | 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. | |
| 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 |
| ColorMode | ImportColorMode | Color mode for the import. Three modes are supported. Black and White, Preserve Colors, and Invert Colors. | BaseImportOptions |
| CustomScale | double | Scaling the import. If this is defined and a valid value (> 0.0), it takes preference over units. | BaseImportOptions |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | BaseImportOptions |
| 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 |
| 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 |
| 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 |
| ThisViewOnly | bool | Imports drawings into the view that was passed into the import method. This option is not available in 3D views. | BaseImportOptions |
| Unit | ImportUnit | The unit of measure for imported geometry. | BaseImportOptions |
| VisibleLayersOnly | bool | Only import the visible layers. | BaseImportOptions |