DxfdwgImporter Class¶
-
class
NXOpen.
DxfdwgImporter
¶ Bases:
NXOpen.DexBuilder
Represents a
NXOpen.DxfdwgImporter
to be used when importing the DXF/DWG Data This class is created usingNXOpen.DexManager
.NULL object will be returned from Commit() To create a new instance of this class, use
NXOpen.DexManager.CreateDxfdwgImporter()
Default values.
Property Value FacetImport Jt HealBodies 0 ImportPolylineTo Splines ImportTo New ImportToTeamcenter 0 ModelScaleFactor 1.0 Optimize 0 ProcessHoldFlag 0 ProcessingOrder Alphabetical RotationAngle 0.0 SimplifyGeometry 0 TranslationX 0.0 TranslationY 0.0 TranslationZ 0.0 Units SameAsTemplate New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
AcadLayoutsToImport | Returns or sets the AcadLayoutsToImport command - generates a list of ACAD layouts |
AspectRatioOption | Returns or sets the autocad aspect ratio calculation method - this will decide the NX Aspect ratio method to be used. |
AvoidUsedNXLayers | Returns or sets the AvoidUsedNXLayers command - if set to true, the destination part layers will not be used |
ConvLayoutData | Returns or sets the Import Layout data command - if set to true then Layout data will be imported |
ConvLayouts | Returns or sets the ConvLayouts command - this will determine if all or selected layouts are translated |
ConvModelData | Returns or sets the Import model data command - if set to true then Model data will be imported |
CrossHatchMappingFile | Returns or sets the CrossHatchMappingFile command - definition file for cross hatch mapping |
DestForUnselectedLayer | Returns or sets the DestForUnselectedLayer command - number of destination layer |
FacetImport | Returns or sets the DXFDWG Facet Import Option - set import Face3D entities option as either JT facets or Convergent bodies |
FileOpenFlag | Returns or sets the FileOpenFlag command - should be set to false if doing file import |
HealBodies | Returns or sets the HealBodies command - if set to true then healing will be attempted on 3D solids |
ImportBlockType | Returns or sets the ImportBlockType command - import ACAD Blocks as a group or as a custom symbol |
ImportCurvesType | Returns or sets the ImportCurvesType command - When model data is imported on drawing sheet, this can be set in order to sketch a curve or many curves |
ImportDimensionType | Returns or sets the ImportDimensionType command - import ACAD dimensions as real dimensions or as group data |
ImportPolylineTo | Returns or sets the ImportPolylineTo command - this will determine if polylines will be imported as splines or as lines/arcs. |
ImportTo | Returns or sets the ImportTo command - this option will determine the destination for imported autocad file. |
ImportToTeamcenter | Returns or sets the ImportToTeamcenter command - if set to true then assembly will be imported into Teamcenter |
InputFile | Returns or sets the InputFile command - name of a file which is being imported |
LineFontMappingFile | Returns or sets the LineFontMappingFile command - definition file for line font mapping |
ModelScaleFactor | Returns or sets the model data scale factor - The scale factor for scaling the model data during import |
Optimize | Returns or sets the Optimize command - if set to true then attempt will be made to optimize 3D geometry |
OutputFile | Returns or sets the OutputFile command - if autocad file is imported to the new part then this name will be used to write the output. |
ProcessHoldFlag | Returns or sets the process hold flag - set to true if user wants to wait until transaltion process gets completed |
ProcessingOrder | Returns or sets the ProcessingOrder command - this option will decide processing order of AutoCAD layers |
ReadLayerNumFromPrefix | Returns or sets the ReadLayerNumFromPrefix command - if set to true, layer numbers will be read from prefix |
RotationAngle | Returns or sets the Rotation Angle - The rotation angle value for transforming the model data |
SendLayoutsTo | Returns or sets the SendLayoutsTo command - this will determine the destination for the layout data |
SendModelDataTo | Returns or sets the SendModelDataTo command - this will determine the destination for model data |
SettingsFile | Returns or sets the SettingsFile command - definition file for default options |
SimplifyGeometry | Returns or sets the SimplifyGeometry command - if set to true then attempt will be made to simplify 3D geometry to analytics |
SkipEmptyLayer | Returns or sets the SkipEmptyLayer command - if set to true, unreferenced AutoCAD layers will not be transalated |
Tag | Returns the Tag for this object. |
TemplateFile | Returns or sets the TemplateFile command - This will be used as template for dxf/dwg import |
TextFontMappingFile | Returns or sets the TextFontMappingFile command - definition file for text font mapping |
TranslateUnselectedLayer | Returns or sets the TranslateUnselectedLayer command - if set to true, unselected layers will be translated |
TranslationX | Returns or sets the X translation - The delta X value for repositioning the model data |
TranslationY | Returns or sets the Y translation - The delta Y value for repositioning the model data |
TranslationZ | Returns or sets the Z translation - The delta Z value for repositioning the model data |
UnSelectedLayers | Returns or sets the UnSelectedLayers command - sets the list of unselected layers |
Units | Returns or sets the Units command - this option will determine the destination part units. |
Workflow | Returns or sets the DXFDWG Import Workflow Option - this will set dxfdwg import workflow to either 3D or Drawing |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
SaveSettings | Saves the save settings - this will save the settings to a file specified |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
DxfdwgImporterAspectRatioOptions Enumeration | NX Aspect ratio calculation options |
DxfdwgImporterConvLayoutsAs Enumeration | Convert latouts option |
DxfdwgImporterFacetImportAs Enumeration | DXFDWG Facet Import options |
DxfdwgImporterImportBlocksAs Enumeration | Import Blocks as option option |
DxfdwgImporterImportCurvesAs Enumeration | Import curves as option |
DxfdwgImporterImportDimensionsAs Enumeration | Import Dimensions as option option |
DxfdwgImporterImportPolylinesAs Enumeration | Import Polylines as option |
DxfdwgImporterImportToEnum Enumeration | Import To option |
DxfdwgImporterProcessingOrderAs Enumeration | Processing Oder of non numeric layers |
DxfdwgImporterSendLayoutsAs Enumeration | Send Layouts data to option |
DxfdwgImporterSendModelDataAs Enumeration | Send Model data to option |
DxfdwgImporterUnitsEnum Enumeration | Import To option |
DxfdwgImporterWorkflowAs Enumeration | DXFDWG Import Workflow options |
Property Detail¶
AcadLayoutsToImport¶
-
DxfdwgImporter.
AcadLayoutsToImport
¶ Returns or sets the AcadLayoutsToImport command - generates a list of ACAD layouts
-------------------------------------
Getter Method
Signature
AcadLayoutsToImport
Returns: Return type: str New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AcadLayoutsToImport
Parameters: layoutNames (str) – New in version NX8.0.0.
License requirements: None.
AspectRatioOption¶
-
DxfdwgImporter.
AspectRatioOption
¶ Returns or sets the autocad aspect ratio calculation method - this will decide the NX Aspect ratio method to be used.
-------------------------------------
Getter Method
Signature
AspectRatioOption
Returns: Return type: NXOpen.DxfdwgImporterAspectRatioOptions
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AspectRatioOption
Parameters: widthFactorMode ( NXOpen.DxfdwgImporterAspectRatioOptions
) –New in version NX8.5.0.
License requirements: None.
AvoidUsedNXLayers¶
-
DxfdwgImporter.
AvoidUsedNXLayers
¶ Returns or sets the AvoidUsedNXLayers command - if set to true, the destination part layers will not be used
-------------------------------------
Getter Method
Signature
AvoidUsedNXLayers
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AvoidUsedNXLayers
Parameters: avoidUsedNXLayers (bool) – New in version NX8.0.0.
License requirements: None.
ConvLayoutData¶
-
DxfdwgImporter.
ConvLayoutData
¶ Returns or sets the Import Layout data command - if set to true then Layout data will be imported
-------------------------------------
Getter Method
Signature
ConvLayoutData
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ConvLayoutData
Parameters: convLayoutData (bool) – New in version NX8.0.0.
License requirements: None.
ConvLayouts¶
-
DxfdwgImporter.
ConvLayouts
¶ Returns or sets the ConvLayouts command - this will determine if all or selected layouts are translated
-------------------------------------
Getter Method
Signature
ConvLayouts
Returns: Return type: NXOpen.DxfdwgImporterConvLayoutsAs
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ConvLayouts
Parameters: convLayoutsAs ( NXOpen.DxfdwgImporterConvLayoutsAs
) –New in version NX8.0.0.
License requirements: None.
ConvModelData¶
-
DxfdwgImporter.
ConvModelData
¶ Returns or sets the Import model data command - if set to true then Model data will be imported
-------------------------------------
Getter Method
Signature
ConvModelData
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ConvModelData
Parameters: convModelData (bool) – New in version NX8.0.0.
License requirements: None.
CrossHatchMappingFile¶
-
DxfdwgImporter.
CrossHatchMappingFile
¶ Returns or sets the CrossHatchMappingFile command - definition file for cross hatch mapping
-------------------------------------
Getter Method
Signature
CrossHatchMappingFile
Returns: Return type: str New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CrossHatchMappingFile
Parameters: filename (str) – New in version NX8.0.0.
License requirements: None.
DestForUnselectedLayer¶
-
DxfdwgImporter.
DestForUnselectedLayer
¶ Returns or sets the DestForUnselectedLayer command - number of destination layer
-------------------------------------
Getter Method
Signature
DestForUnselectedLayer
Returns: Return type: int New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DestForUnselectedLayer
Parameters: destForUnselectedLayer (int) – New in version NX8.0.0.
License requirements: None.
FacetImport¶
-
DxfdwgImporter.
FacetImport
¶ Returns or sets the DXFDWG Facet Import Option - set import Face3D entities option as either JT facets or Convergent bodies
-------------------------------------
Getter Method
Signature
FacetImport
Returns: Return type: NXOpen.DxfdwgImporterFacetImportAs
New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FacetImport
Parameters: workflow ( NXOpen.DxfdwgImporterFacetImportAs
) –New in version NX12.0.0.
License requirements: None.
FileOpenFlag¶
-
DxfdwgImporter.
FileOpenFlag
¶ Returns or sets the FileOpenFlag command - should be set to false if doing file import
-------------------------------------
Getter Method
Signature
FileOpenFlag
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FileOpenFlag
Parameters: doingFileOpen (bool) – New in version NX6.0.0.
License requirements: None.
HealBodies¶
-
DxfdwgImporter.
HealBodies
¶ Returns or sets the HealBodies command - if set to true then healing will be attempted on 3D solids
-------------------------------------
Getter Method
Signature
HealBodies
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HealBodies
Parameters: healBodies (bool) – New in version NX11.0.0.
License requirements: None.
ImportBlockType¶
-
DxfdwgImporter.
ImportBlockType
¶ Returns or sets the ImportBlockType command - import ACAD Blocks as a group or as a custom symbol
-------------------------------------
Getter Method
Signature
ImportBlockType
Returns: Return type: NXOpen.DxfdwgImporterImportBlocksAs
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImportBlockType
Parameters: importBlockType ( NXOpen.DxfdwgImporterImportBlocksAs
) –New in version NX8.0.0.
License requirements: None.
ImportCurvesType¶
-
DxfdwgImporter.
ImportCurvesType
¶ Returns or sets the ImportCurvesType command - When model data is imported on drawing sheet, this can be set in order to sketch a curve or many curves
-------------------------------------
Getter Method
Signature
ImportCurvesType
Returns: Return type: NXOpen.DxfdwgImporterImportCurvesAs
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImportCurvesType
Parameters: importCurvesType ( NXOpen.DxfdwgImporterImportCurvesAs
) –New in version NX8.0.0.
License requirements: None.
ImportDimensionType¶
-
DxfdwgImporter.
ImportDimensionType
¶ Returns or sets the ImportDimensionType command - import ACAD dimensions as real dimensions or as group data
-------------------------------------
Getter Method
Signature
ImportDimensionType
Returns: Return type: NXOpen.DxfdwgImporterImportDimensionsAs
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImportDimensionType
Parameters: importDimensionType ( NXOpen.DxfdwgImporterImportDimensionsAs
) –New in version NX8.0.0.
License requirements: None.
ImportPolylineTo¶
-
DxfdwgImporter.
ImportPolylineTo
¶ Returns or sets the ImportPolylineTo command - this will determine if polylines will be imported as splines or as lines/arcs.
-------------------------------------
Getter Method
Signature
ImportPolylineTo
Returns: Return type: NXOpen.DxfdwgImporterImportPolylinesAs
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImportPolylineTo
Parameters: importPolylineTo ( NXOpen.DxfdwgImporterImportPolylinesAs
) –New in version NX6.0.0.
License requirements: None.
ImportTo¶
-
DxfdwgImporter.
ImportTo
¶ Returns or sets the ImportTo command - this option will determine the destination for imported autocad file.
it can either be new (english/metric) or work part.
-------------------------------------
Getter Method
Signature
ImportTo
Returns: Return type: NXOpen.DxfdwgImporterImportToEnum
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImportTo
Parameters: importTo ( NXOpen.DxfdwgImporterImportToEnum
) –New in version NX6.0.0.
License requirements: None.
ImportToTeamcenter¶
-
DxfdwgImporter.
ImportToTeamcenter
¶ Returns or sets the ImportToTeamcenter command - if set to true then assembly will be imported into Teamcenter
-------------------------------------
Getter Method
Signature
ImportToTeamcenter
Returns: Return type: bool New in version NX7.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImportToTeamcenter
Parameters: importToTeamcenter (bool) – New in version NX7.0.0.
License requirements: None.
InputFile¶
-
DxfdwgImporter.
InputFile
¶ Returns or sets the InputFile command - name of a file which is being imported
-------------------------------------
Getter Method
Signature
InputFile
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InputFile
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
LineFontMappingFile¶
-
DxfdwgImporter.
LineFontMappingFile
¶ Returns or sets the LineFontMappingFile command - definition file for line font mapping
-------------------------------------
Getter Method
Signature
LineFontMappingFile
Returns: Return type: str New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LineFontMappingFile
Parameters: filename (str) – New in version NX8.0.0.
License requirements: None.
ModelScaleFactor¶
-
DxfdwgImporter.
ModelScaleFactor
¶ Returns or sets the model data scale factor - The scale factor for scaling the model data during import
-------------------------------------
Getter Method
Signature
ModelScaleFactor
Returns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ModelScaleFactor
Parameters: scaleFactor (float) – New in version NX11.0.0.
License requirements: None.
Optimize¶
-
DxfdwgImporter.
Optimize
¶ Returns or sets the Optimize command - if set to true then attempt will be made to optimize 3D geometry
-------------------------------------
Getter Method
Signature
Optimize
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Optimize
Parameters: optimize (bool) – New in version NX11.0.0.
License requirements: None.
OutputFile¶
-
DxfdwgImporter.
OutputFile
¶ Returns or sets the OutputFile command - if autocad file is imported to the new part then this name will be used to write the output.
-------------------------------------
Getter Method
Signature
OutputFile
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OutputFile
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
ProcessingOrder¶
-
DxfdwgImporter.
ProcessingOrder
¶ Returns or sets the ProcessingOrder command - this option will decide processing order of AutoCAD layers
-------------------------------------
Getter Method
Signature
ProcessingOrder
Returns: Return type: NXOpen.DxfdwgImporterProcessingOrderAs
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ProcessingOrder
Parameters: processingOrder ( NXOpen.DxfdwgImporterProcessingOrderAs
) –New in version NX8.0.0.
License requirements: None.
ReadLayerNumFromPrefix¶
-
DxfdwgImporter.
ReadLayerNumFromPrefix
¶ Returns or sets the ReadLayerNumFromPrefix command - if set to true, layer numbers will be read from prefix
-------------------------------------
Getter Method
Signature
ReadLayerNumFromPrefix
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReadLayerNumFromPrefix
Parameters: readLayerNumFromPrefix (bool) – New in version NX8.0.0.
License requirements: None.
RotationAngle¶
-
DxfdwgImporter.
RotationAngle
¶ Returns or sets the Rotation Angle - The rotation angle value for transforming the model data
-------------------------------------
Getter Method
Signature
RotationAngle
Returns: Return type: float New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RotationAngle
Parameters: rotationAngle (float) – New in version NX12.0.0.
License requirements: None.
SendLayoutsTo¶
-
DxfdwgImporter.
SendLayoutsTo
¶ Returns or sets the SendLayoutsTo command - this will determine the destination for the layout data
-------------------------------------
Getter Method
Signature
SendLayoutsTo
Returns: Return type: NXOpen.DxfdwgImporterSendLayoutsAs
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SendLayoutsTo
Parameters: sendLayoutsTo ( NXOpen.DxfdwgImporterSendLayoutsAs
) –New in version NX8.0.0.
License requirements: None.
SendModelDataTo¶
-
DxfdwgImporter.
SendModelDataTo
¶ Returns or sets the SendModelDataTo command - this will determine the destination for model data
-------------------------------------
Getter Method
Signature
SendModelDataTo
Returns: Return type: NXOpen.DxfdwgImporterSendModelDataAs
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SendModelDataTo
Parameters: sendModelDataTo ( NXOpen.DxfdwgImporterSendModelDataAs
) –New in version NX8.0.0.
License requirements: None.
SettingsFile¶
-
DxfdwgImporter.
SettingsFile
¶ Returns or sets the SettingsFile command - definition file for default options
-------------------------------------
Getter Method
Signature
SettingsFile
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SettingsFile
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
SimplifyGeometry¶
-
DxfdwgImporter.
SimplifyGeometry
¶ Returns or sets the SimplifyGeometry command - if set to true then attempt will be made to simplify 3D geometry to analytics
-------------------------------------
Getter Method
Signature
SimplifyGeometry
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SimplifyGeometry
Parameters: simplify (bool) – New in version NX11.0.0.
License requirements: None.
SkipEmptyLayer¶
-
DxfdwgImporter.
SkipEmptyLayer
¶ Returns or sets the SkipEmptyLayer command - if set to true, unreferenced AutoCAD layers will not be transalated
-------------------------------------
Getter Method
Signature
SkipEmptyLayer
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SkipEmptyLayer
Parameters: skipEmptyLayer (bool) – New in version NX8.0.0.
License requirements: None.
TemplateFile¶
-
DxfdwgImporter.
TemplateFile
¶ Returns or sets the TemplateFile command - This will be used as template for dxf/dwg import
-------------------------------------
Getter Method
Signature
TemplateFile
Returns: Return type: str New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TemplateFile
Parameters: filename (str) – New in version NX8.0.0.
License requirements: None.
TextFontMappingFile¶
-
DxfdwgImporter.
TextFontMappingFile
¶ Returns or sets the TextFontMappingFile command - definition file for text font mapping
-------------------------------------
Getter Method
Signature
TextFontMappingFile
Returns: Return type: str New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TextFontMappingFile
Parameters: filename (str) – New in version NX8.0.0.
License requirements: None.
TranslateUnselectedLayer¶
-
DxfdwgImporter.
TranslateUnselectedLayer
¶ Returns or sets the TranslateUnselectedLayer command - if set to true, unselected layers will be translated
-------------------------------------
Getter Method
Signature
TranslateUnselectedLayer
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TranslateUnselectedLayer
Parameters: translateUnselectedLayer (bool) – New in version NX8.0.0.
License requirements: None.
TranslationX¶
-
DxfdwgImporter.
TranslationX
¶ Returns or sets the X translation - The delta X value for repositioning the model data
-------------------------------------
Getter Method
Signature
TranslationX
Returns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TranslationX
Parameters: deltaX (float) – New in version NX11.0.0.
License requirements: None.
TranslationY¶
-
DxfdwgImporter.
TranslationY
¶ Returns or sets the Y translation - The delta Y value for repositioning the model data
-------------------------------------
Getter Method
Signature
TranslationY
Returns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TranslationY
Parameters: deltaY (float) – New in version NX11.0.0.
License requirements: None.
TranslationZ¶
-
DxfdwgImporter.
TranslationZ
¶ Returns or sets the Z translation - The delta Z value for repositioning the model data
-------------------------------------
Getter Method
Signature
TranslationZ
Returns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TranslationZ
Parameters: deltaZ (float) – New in version NX11.0.0.
License requirements: None.
UnSelectedLayers¶
-
DxfdwgImporter.
UnSelectedLayers
¶ Returns or sets the UnSelectedLayers command - sets the list of unselected layers
-------------------------------------
Getter Method
Signature
UnSelectedLayers
Returns: Return type: str New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UnSelectedLayers
Parameters: unselectedLayers (str) – New in version NX8.0.0.
License requirements: None.
Units¶
-
DxfdwgImporter.
Units
¶ Returns or sets the Units command - this option will determine the destination part units.
-------------------------------------
Getter Method
Signature
Units
Returns: Return type: NXOpen.DxfdwgImporterUnitsEnum
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Units
Parameters: units ( NXOpen.DxfdwgImporterUnitsEnum
) –New in version NX8.0.0.
License requirements: None.
Workflow¶
-
DxfdwgImporter.
Workflow
¶ Returns or sets the DXFDWG Import Workflow Option - this will set dxfdwg import workflow to either 3D or Drawing
-------------------------------------
Getter Method
Signature
Workflow
Returns: Return type: NXOpen.DxfdwgImporterWorkflowAs
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Workflow
Parameters: workflow ( NXOpen.DxfdwgImporterWorkflowAs
) –New in version NX11.0.0.
License requirements: None.
Method Detail¶
SaveSettings¶
-
DxfdwgImporter.
SaveSettings
¶ Saves the save settings - this will save the settings to a file specified
Signature
SaveSettings(filename)
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
Validate¶
-
DxfdwgImporter.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.