public interface DxfdwgImporter extends DexBuilder
DxfdwgImporter
to be used when importing the DXF/DWG Data
This class is created using DexManager
.
NULL object will be returned from Commit() DexManager.createDxfdwgImporter()
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 |
Modifier and Type | Interface and Description |
---|---|
static class |
DxfdwgImporter.AspectRatioOptions
NX Aspect ratio calculation options
|
static class |
DxfdwgImporter.ConvLayoutsAs
Convert latouts option
|
static class |
DxfdwgImporter.FacetImportAs
DXFDWG Facet Import options
|
static class |
DxfdwgImporter.ImportBlocksAs
Import Blocks as option option
|
static class |
DxfdwgImporter.ImportCurvesAs
Import curves as option
|
static class |
DxfdwgImporter.ImportDimensionsAs
Import Dimensions as option option
|
static class |
DxfdwgImporter.ImportPolylinesAs
Import Polylines as option
|
static class |
DxfdwgImporter.ImportToEnum
Import To option
|
static class |
DxfdwgImporter.ProcessingOrderAs
Processing Oder of non numeric layers
|
static class |
DxfdwgImporter.SendLayoutsAs
Send Layouts data to option
|
static class |
DxfdwgImporter.SendModelDataAs
Send Model data to option
|
static class |
DxfdwgImporter.UnitsEnum
Import To option
|
static class |
DxfdwgImporter.WorkflowAs
DXFDWG Import Workflow options
|
Modifier and Type | Method and Description |
---|---|
String |
acadLayoutsToImport()
Returns the AcadLayoutsToImport command - generates a list of ACAD layouts
License requirements: None. |
DxfdwgImporter.AspectRatioOptions |
aspectRatioOption()
Returns the autocad aspect ratio calculation method - this will decide the NX Aspect ratio method to be used.
|
boolean |
avoidUsedNXLayers()
Returns the AvoidUsedNXLayers command - if set to true, the destination part layers will not be used
License requirements: None. |
boolean |
convLayoutData()
Returns the Import Layout data command - if set to true then Layout data will be imported
License requirements: None. |
DxfdwgImporter.ConvLayoutsAs |
convLayouts()
Returns the ConvLayouts command - this will determine if all or selected layouts are translated
License requirements: None. |
boolean |
convModelData()
Returns the Import model data command - if set to true then Model data will be imported
License requirements: None. |
String |
crossHatchMappingFile()
Returns the CrossHatchMappingFile command - definition file for cross hatch mapping
License requirements: None. |
int |
destForUnselectedLayer()
Returns the DestForUnselectedLayer command - number of destination layer
License requirements: None. |
DxfdwgImporter.FacetImportAs |
facetImport()
Returns the DXFDWG Facet Import Option - set import Face3D entities option as either JT facets or Convergent bodies
License requirements: None. |
boolean |
fileOpenFlag()
Returns the FileOpenFlag command - should be set to false if doing file import
License requirements: None. |
boolean |
healBodies()
Returns the HealBodies command - if set to true then healing will be attempted on 3D solids
License requirements: None. |
DxfdwgImporter.ImportBlocksAs |
importBlockType()
Returns the ImportBlockType command - import ACAD Blocks as a group or as a custom symbol
License requirements: None. |
DxfdwgImporter.ImportCurvesAs |
importCurvesType()
Returns the ImportCurvesType command - When model data is imported on drawing sheet, this can be set in order to sketch a curve or many curves
License requirements: None. |
DxfdwgImporter.ImportDimensionsAs |
importDimensionType()
Returns the ImportDimensionType command - import ACAD dimensions as real dimensions or as group data
License requirements: None. |
DxfdwgImporter.ImportPolylinesAs |
importPolylineTo()
Returns the ImportPolylineTo command - this will determine if polylines will be imported as splines or as
lines/arcs.
|
DxfdwgImporter.ImportToEnum |
importTo()
Returns the ImportTo command - this option will determine the destination for imported autocad file. it can
either be new (english/metric) or work part.
|
boolean |
importToTeamcenter()
Returns the ImportToTeamcenter command - if set to true then assembly will be imported into Teamcenter
License requirements: None. |
String |
inputFile()
Returns the InputFile command - name of a file which is being imported
License requirements: None. |
String |
lineFontMappingFile()
Returns the LineFontMappingFile command - definition file for line font mapping
License requirements: None. |
double |
modelScaleFactor()
Returns the model data scale factor - The scale factor for scaling the model data during import
License requirements: None. |
boolean |
optimize()
Returns the Optimize command - if set to true then attempt will be made to optimize 3D geometry
License requirements: None. |
String |
outputFile()
Returns the OutputFile command - if autocad file is imported to the new part then this name will be used to
write the output.
|
DxfdwgImporter.ProcessingOrderAs |
processingOrder()
Returns the ProcessingOrder command - this option will decide processing order of AutoCAD layers
License requirements: None. |
boolean |
readLayerNumFromPrefix()
Returns the ReadLayerNumFromPrefix command - if set to true, layer numbers will be read from prefix
License requirements: None. |
double |
rotationAngle()
Returns the Rotation Angle - The rotation angle value for transforming the model data
License requirements: None. |
void |
saveSettings(String filename)
Saves the save settings - this will save the settings to a file specified
License requirements: None. |
DxfdwgImporter.SendLayoutsAs |
sendLayoutsTo()
Returns the SendLayoutsTo command - this will determine the destination for the layout data
License requirements: None. |
DxfdwgImporter.SendModelDataAs |
sendModelDataTo()
Returns the SendModelDataTo command - this will determine the destination for model data
License requirements: None. |
void |
setAcadLayoutsToImport(String layoutNames)
License requirements: None. |
void |
setAspectRatioOption(DxfdwgImporter.AspectRatioOptions widthFactorMode)
License requirements: None. |
void |
setAvoidUsedNXLayers(boolean avoidUsedNXLayers)
License requirements: None. |
void |
setConvLayoutData(boolean convLayoutData)
License requirements: None. |
void |
setConvLayouts(DxfdwgImporter.ConvLayoutsAs convLayoutsAs)
License requirements: None. |
void |
setConvModelData(boolean convModelData)
License requirements: None. |
void |
setCrossHatchMappingFile(String filename)
License requirements: None. |
void |
setDestForUnselectedLayer(int destForUnselectedLayer)
License requirements: None. |
void |
setFacetImport(DxfdwgImporter.FacetImportAs workflow)
License requirements: None. |
void |
setFileOpenFlag(boolean doingFileOpen)
License requirements: None. |
void |
setHealBodies(boolean healBodies)
License requirements: None. |
void |
setImportBlockType(DxfdwgImporter.ImportBlocksAs importBlockType)
License requirements: None. |
void |
setImportCurvesType(DxfdwgImporter.ImportCurvesAs importCurvesType)
License requirements: None. |
void |
setImportDimensionType(DxfdwgImporter.ImportDimensionsAs importDimensionType)
License requirements: None. |
void |
setImportPolylineTo(DxfdwgImporter.ImportPolylinesAs importPolylineTo)
License requirements: None. |
void |
setImportTo(DxfdwgImporter.ImportToEnum importTo)
License requirements: None. |
void |
setImportToTeamcenter(boolean importToTeamcenter)
License requirements: None. |
void |
setInputFile(String filename)
License requirements: None. |
void |
setLineFontMappingFile(String filename)
License requirements: None. |
void |
setModelScaleFactor(double scaleFactor)
License requirements: None. |
void |
setOptimize(boolean optimize)
License requirements: None. |
void |
setOutputFile(String filename)
License requirements: None. |
void |
setProcessingOrder(DxfdwgImporter.ProcessingOrderAs processingOrder)
License requirements: None. |
void |
setReadLayerNumFromPrefix(boolean readLayerNumFromPrefix)
License requirements: None. |
void |
setRotationAngle(double rotationAngle)
License requirements: None. |
void |
setSendLayoutsTo(DxfdwgImporter.SendLayoutsAs sendLayoutsTo)
License requirements: None. |
void |
setSendModelDataTo(DxfdwgImporter.SendModelDataAs sendModelDataTo)
License requirements: None. |
void |
setSettingsFile(String filename)
License requirements: None. |
void |
setSimplifyGeometry(boolean simplify)
License requirements: None. |
void |
setSkipEmptyLayer(boolean skipEmptyLayer)
License requirements: None. |
void |
setTemplateFile(String filename)
License requirements: None. |
void |
setTextFontMappingFile(String filename)
License requirements: None. |
String |
settingsFile()
Returns the SettingsFile command - definition file for default options
License requirements: None. |
void |
setTranslateUnselectedLayer(boolean translateUnselectedLayer)
License requirements: None. |
void |
setTranslationX(double deltaX)
License requirements: None. |
void |
setTranslationY(double deltaY)
License requirements: None. |
void |
setTranslationZ(double deltaZ)
License requirements: None. |
void |
setUnits(DxfdwgImporter.UnitsEnum units)
License requirements: None. |
void |
setUnSelectedLayers(String unselectedLayers)
License requirements: None. |
void |
setWorkflow(DxfdwgImporter.WorkflowAs workflow)
License requirements: None. |
boolean |
simplifyGeometry()
Returns the SimplifyGeometry command - if set to true then attempt will be made to simplify 3D geometry to analytics
License requirements: None. |
boolean |
skipEmptyLayer()
Returns the SkipEmptyLayer command - if set to true, unreferenced AutoCAD layers will not be transalated
License requirements: None. |
String |
templateFile()
Returns the TemplateFile command - This will be used as template for dxf/dwg import
License requirements: None. |
String |
textFontMappingFile()
Returns the TextFontMappingFile command - definition file for text font mapping
License requirements: None. |
boolean |
translateUnselectedLayer()
Returns the TranslateUnselectedLayer command - if set to true, unselected layers will be translated
License requirements: None. |
double |
translationX()
Returns the X translation - The delta X value for repositioning the model data
License requirements: None. |
double |
translationY()
Returns the Y translation - The delta Y value for repositioning the model data
License requirements: None. |
double |
translationZ()
Returns the Z translation - The delta Z value for repositioning the model data
License requirements: None. |
DxfdwgImporter.UnitsEnum |
units()
Returns the Units command - this option will determine the destination part units.
|
String |
unSelectedLayers()
Returns the UnSelectedLayers command - sets the list of unselected layers
License requirements: None. |
DxfdwgImporter.WorkflowAs |
workflow()
Returns the DXFDWG Import Workflow Option - this will set dxfdwg import workflow to either 3D or Drawing
License requirements: None. |
processHoldFlag, setProcessHoldFlag
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
void saveSettings(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
String inputFile() throws NXException, RemoteException
NXException
RemoteException
void setInputFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
DxfdwgImporter.ImportToEnum importTo() throws NXException, RemoteException
NXException
RemoteException
void setImportTo(DxfdwgImporter.ImportToEnum importTo) throws NXException, RemoteException
importTo
- NXException
RemoteException
DxfdwgImporter.UnitsEnum units() throws NXException, RemoteException
NXException
RemoteException
void setUnits(DxfdwgImporter.UnitsEnum units) throws NXException, RemoteException
units
- NXException
RemoteException
String templateFile() throws NXException, RemoteException
NXException
RemoteException
void setTemplateFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
String outputFile() throws NXException, RemoteException
NXException
RemoteException
void setOutputFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
boolean importToTeamcenter() throws NXException, RemoteException
NXException
RemoteException
void setImportToTeamcenter(boolean importToTeamcenter) throws NXException, RemoteException
importToTeamcenter
- NXException
RemoteException
boolean convModelData() throws NXException, RemoteException
NXException
RemoteException
void setConvModelData(boolean convModelData) throws NXException, RemoteException
convModelData
- NXException
RemoteException
DxfdwgImporter.SendModelDataAs sendModelDataTo() throws NXException, RemoteException
NXException
RemoteException
void setSendModelDataTo(DxfdwgImporter.SendModelDataAs sendModelDataTo) throws NXException, RemoteException
sendModelDataTo
- NXException
RemoteException
boolean convLayoutData() throws NXException, RemoteException
NXException
RemoteException
void setConvLayoutData(boolean convLayoutData) throws NXException, RemoteException
convLayoutData
- NXException
RemoteException
DxfdwgImporter.ConvLayoutsAs convLayouts() throws NXException, RemoteException
NXException
RemoteException
void setConvLayouts(DxfdwgImporter.ConvLayoutsAs convLayoutsAs) throws NXException, RemoteException
convLayoutsAs
- NXException
RemoteException
String acadLayoutsToImport() throws NXException, RemoteException
NXException
RemoteException
void setAcadLayoutsToImport(String layoutNames) throws NXException, RemoteException
layoutNames
- NXException
RemoteException
DxfdwgImporter.SendLayoutsAs sendLayoutsTo() throws NXException, RemoteException
NXException
RemoteException
void setSendLayoutsTo(DxfdwgImporter.SendLayoutsAs sendLayoutsTo) throws NXException, RemoteException
sendLayoutsTo
- NXException
RemoteException
DxfdwgImporter.ImportCurvesAs importCurvesType() throws NXException, RemoteException
NXException
RemoteException
void setImportCurvesType(DxfdwgImporter.ImportCurvesAs importCurvesType) throws NXException, RemoteException
importCurvesType
- NXException
RemoteException
DxfdwgImporter.ImportDimensionsAs importDimensionType() throws NXException, RemoteException
NXException
RemoteException
void setImportDimensionType(DxfdwgImporter.ImportDimensionsAs importDimensionType) throws NXException, RemoteException
importDimensionType
- NXException
RemoteException
DxfdwgImporter.ImportBlocksAs importBlockType() throws NXException, RemoteException
NXException
RemoteException
void setImportBlockType(DxfdwgImporter.ImportBlocksAs importBlockType) throws NXException, RemoteException
importBlockType
- NXException
RemoteException
DxfdwgImporter.ImportPolylinesAs importPolylineTo() throws NXException, RemoteException
NXException
RemoteException
void setImportPolylineTo(DxfdwgImporter.ImportPolylinesAs importPolylineTo) throws NXException, RemoteException
importPolylineTo
- NXException
RemoteException
boolean avoidUsedNXLayers() throws NXException, RemoteException
NXException
RemoteException
void setAvoidUsedNXLayers(boolean avoidUsedNXLayers) throws NXException, RemoteException
avoidUsedNXLayers
- NXException
RemoteException
boolean readLayerNumFromPrefix() throws NXException, RemoteException
NXException
RemoteException
void setReadLayerNumFromPrefix(boolean readLayerNumFromPrefix) throws NXException, RemoteException
readLayerNumFromPrefix
- NXException
RemoteException
boolean translateUnselectedLayer() throws NXException, RemoteException
NXException
RemoteException
void setTranslateUnselectedLayer(boolean translateUnselectedLayer) throws NXException, RemoteException
translateUnselectedLayer
- NXException
RemoteException
int destForUnselectedLayer() throws NXException, RemoteException
NXException
RemoteException
void setDestForUnselectedLayer(int destForUnselectedLayer) throws NXException, RemoteException
destForUnselectedLayer
- NXException
RemoteException
DxfdwgImporter.ProcessingOrderAs processingOrder() throws NXException, RemoteException
NXException
RemoteException
void setProcessingOrder(DxfdwgImporter.ProcessingOrderAs processingOrder) throws NXException, RemoteException
processingOrder
- NXException
RemoteException
boolean skipEmptyLayer() throws NXException, RemoteException
NXException
RemoteException
void setSkipEmptyLayer(boolean skipEmptyLayer) throws NXException, RemoteException
skipEmptyLayer
- NXException
RemoteException
String unSelectedLayers() throws NXException, RemoteException
NXException
RemoteException
void setUnSelectedLayers(String unselectedLayers) throws NXException, RemoteException
unselectedLayers
- NXException
RemoteException
String settingsFile() throws NXException, RemoteException
NXException
RemoteException
void setSettingsFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
String textFontMappingFile() throws NXException, RemoteException
NXException
RemoteException
void setTextFontMappingFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
DxfdwgImporter.AspectRatioOptions aspectRatioOption() throws NXException, RemoteException
NXException
RemoteException
void setAspectRatioOption(DxfdwgImporter.AspectRatioOptions widthFactorMode) throws NXException, RemoteException
widthFactorMode
- NXException
RemoteException
String lineFontMappingFile() throws NXException, RemoteException
NXException
RemoteException
void setLineFontMappingFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
String crossHatchMappingFile() throws NXException, RemoteException
NXException
RemoteException
void setCrossHatchMappingFile(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
boolean fileOpenFlag() throws NXException, RemoteException
NXException
RemoteException
void setFileOpenFlag(boolean doingFileOpen) throws NXException, RemoteException
doingFileOpen
- NXException
RemoteException
double modelScaleFactor() throws NXException, RemoteException
NXException
RemoteException
void setModelScaleFactor(double scaleFactor) throws NXException, RemoteException
scaleFactor
- NXException
RemoteException
double translationX() throws NXException, RemoteException
NXException
RemoteException
void setTranslationX(double deltaX) throws NXException, RemoteException
deltaX
- NXException
RemoteException
double translationY() throws NXException, RemoteException
NXException
RemoteException
void setTranslationY(double deltaY) throws NXException, RemoteException
deltaY
- NXException
RemoteException
double translationZ() throws NXException, RemoteException
NXException
RemoteException
void setTranslationZ(double deltaZ) throws NXException, RemoteException
deltaZ
- NXException
RemoteException
double rotationAngle() throws NXException, RemoteException
NXException
RemoteException
void setRotationAngle(double rotationAngle) throws NXException, RemoteException
rotationAngle
- NXException
RemoteException
boolean healBodies() throws NXException, RemoteException
NXException
RemoteException
void setHealBodies(boolean healBodies) throws NXException, RemoteException
healBodies
- NXException
RemoteException
boolean simplifyGeometry() throws NXException, RemoteException
NXException
RemoteException
void setSimplifyGeometry(boolean simplify) throws NXException, RemoteException
simplify
- NXException
RemoteException
boolean optimize() throws NXException, RemoteException
NXException
RemoteException
void setOptimize(boolean optimize) throws NXException, RemoteException
optimize
- NXException
RemoteException
DxfdwgImporter.WorkflowAs workflow() throws NXException, RemoteException
NXException
RemoteException
void setWorkflow(DxfdwgImporter.WorkflowAs workflow) throws NXException, RemoteException
workflow
- NXException
RemoteException
DxfdwgImporter.FacetImportAs facetImport() throws NXException, RemoteException
NXException
RemoteException
void setFacetImport(DxfdwgImporter.FacetImportAs workflow) throws NXException, RemoteException
workflow
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.