OBJImportOptions
Description:
The import options used to import OBJ format files.
The import options used to import OBJ format files.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.BaseImportOptions
Autodesk.Revit.DB.OBJImportOptions
System.Object
Autodesk.Revit.DB.BaseImportOptions
Autodesk.Revit.DB.OBJImportOptions
public class OBJImportOptions : BaseImportOptions
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| OBJImportOptions() | None | Constructs a new instance of OBJImportOptions with default values of all properties. | |
| OBJImportOptions(OBJImportOptions) | None | Constructs a new instance of OBJImportOptions as a copy of the import options. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | (Inherited from BaseImportOptions ) | BaseImportOptions |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetDefaultLengthUnit() | ForgeTypeId | Get the default length unit used for importing unitless files. (Inherited from BaseImportOptions ) | BaseImportOptions |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetLayerSelection() | ICollection<String> | Get all set layers name which user want to import into Revit. (Inherited from BaseImportOptions ) | BaseImportOptions |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| SetDefaultLengthUnit(ForgeTypeId) | None | Set the default length unit used for importing unitless files. (Inherited from BaseImportOptions ) | BaseImportOptions |
| SetLayerSelection(ICollection<String>) | None | Set the layers name which user want to import into Revit. (Inherited from BaseImportOptions ) | BaseImportOptions |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| 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. (Inherited from BaseImportOptions ) | BaseImportOptions |
| ColorMode | ImportColorMode | Color mode for the import. Three modes are supported. Black and White, Preserve Colors, and Invert Colors. (Inherited from BaseImportOptions ) | BaseImportOptions |
| CustomScale | double | Scaling the import. If this is defined and a valid value (> 0.0), it takes priority over units. (Inherited from BaseImportOptions ) | BaseImportOptions |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from BaseImportOptions ) | 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) (Inherited from BaseImportOptions ) | 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. (Inherited from BaseImportOptions ) | 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. (Inherited from BaseImportOptions ) | BaseImportOptions |
| ThisViewOnly | bool | 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 | ImportUnit | The unit of measure for imported geometry. (Inherited from BaseImportOptions ) | BaseImportOptions |
| VisibleLayersOnly | bool | Only import the visible layers. (Inherited from BaseImportOptions ) | BaseImportOptions |