NX Open C++ Reference Guide
|
Represents a DxfdwgCreator to be used when exporting the DXF/DWG Data This class is created using DexManager . More...
Public Types | |
enum | AutoCADRevisionOptions { AutoCADRevisionOptionsR2005, AutoCADRevisionOptionsR2004, AutoCADRevisionOptionsR2000, AutoCADRevisionOptionsR14, AutoCADRevisionOptionsR2007, AutoCADRevisionOptionsR2010 } |
AutoCad Revision option. More... | |
enum | ExportFacesAsOptions { ExportFacesAsOptionsFacets, ExportFacesAsOptionsPolylineMesh } |
Export Faces As option. More... | |
enum | ExportFromOption { ExportFromOptionDisplayPart, ExportFromOptionExistingPart } |
Exprot From option. More... | |
enum | OutputFileTypeOption { OutputFileTypeOptionDxf, OutputFileTypeOptionDwg } |
Output File Type option. More... | |
Public Member Functions | |
NXOpen::DxfdwgCreator::AutoCADRevisionOptions | AutoCADRevision () |
Returns the autocad revision - this will decide the revision of resultant autocad file. | |
int | BcurveDensity () |
Returns the bcurve density - segment density for b-spline curve Created in NX6.0.0. | |
NXString | DrawingList () |
Returns the drawing list - comma separated list of drawings to export Created in NX6.0.0. | |
NXOpen::DxfdwgCreator::ExportFacesAsOptions | ExportFacesAs () |
Returns the export faces as - this will determine if the faces should be exported as facets or polyline mesh Created in NX6.0.0. | |
NXOpen::DxfdwgCreator::ExportFromOption | ExportFrom () |
Returns the export from - this option will determine if data from display part or existing part is exported Created in NX6.0.0. | |
NXOpen::ObjectSelector * | ExportSelectionBlock () |
Returns the export selection block - the object selection will be done by this block. | |
bool | FileSaveFlag () |
Returns the file save flag - this should be set to false if doing File Export Created in NX6.0.0. | |
bool | FlattenAssembly () |
Returns the flatten assembly - if set to true then assembly structure will not be retained Created in NX6.0.0. | |
NXString | InputFile () |
Returns the input file - name of file which is being exported. | |
NXString | LayerMask () |
Returns the layerMask list - This is list of enabled layers. | |
NXOpen::ObjectTypeSelector * | ObjectTypes () |
Returns the objectTypes - this is subcomponent being used to set object types filters. | |
NXString | OutputFile () |
Returns the output file - the name of dxf/dwg file where output is being written Created in NX6.0.0. | |
NXOpen::DxfdwgCreator::OutputFileTypeOption | OutputFileType () |
Returns the output file type - this option determines the format of output file, It can either be dxf or dwg. | |
void | SaveSettings (const NXString &filename) |
Saves the save settings - this will save the settings to a file sepcified Created in NX6.0.0. | |
void | SetAutoCADRevision (NXOpen::DxfdwgCreator::AutoCADRevisionOptions autoCADRevision) |
Sets the autocad revision - this will decide the revision of resultant autocad file. | |
void | SetBcurveDensity (int bcurveDensity) |
Sets the bcurve density - segment density for b-spline curve Created in NX6.0.0. | |
void | SetDrawingArray (const std::vector< NXOpen::TaggedObject * > &objects) |
Sets the drawing - sets the list of drawings to translate Created in NX6.0.0. | |
void | SetDrawingList (const NXString &drawingList) |
Sets the drawing list - comma separated list of drawings to export Created in NX6.0.0. | |
void | SetExportFacesAs (NXOpen::DxfdwgCreator::ExportFacesAsOptions exportFacesAs) |
Sets the export faces as - this will determine if the faces should be exported as facets or polyline mesh Created in NX6.0.0. | |
void | SetExportFrom (NXOpen::DxfdwgCreator::ExportFromOption exportFrom) |
Sets the export from - this option will determine if data from display part or existing part is exported Created in NX6.0.0. | |
void | SetFileSaveFlag (bool doingFileSave) |
Sets the file save flag - this should be set to false if doing File Export Created in NX6.0.0. | |
void | SetFlattenAssembly (bool flattenAssembly) |
Sets the flatten assembly - if set to true then assembly structure will not be retained Created in NX6.0.0. | |
void | SetInputFile (const NXString &filename) |
Sets the input file - name of file which is being exported. | |
void | SetLayerMask (const NXString &layerMask) |
Sets the layerMask list - This is list of enabled layers. | |
void | SetOutputFile (const NXString &filename) |
Sets the output file - the name of dxf/dwg file where output is being written Created in NX6.0.0. | |
void | SetOutputFileType (NXOpen::DxfdwgCreator::OutputFileTypeOption outputFileType) |
Sets the output file type - this option determines the format of output file, It can either be dxf or dwg. | |
void | SetSettingsFile (const NXString &filename) |
Sets the settings file - The definition file to read default options Created in NX6.0.0. | |
void | SetSurfaceDesignU (int surfaceDesignU) |
Sets the surface design u - this will set the surface density along U direction. | |
void | SetSurfaceDesignV (int surfaceDesignV) |
Sets the surface design V - this will set the surface density along V direction. | |
NXString | SettingsFile () |
Returns the settings file - The definition file to read default options Created in NX6.0.0. | |
void | SetViewEditMode (bool viewEditMode) |
Sets the view edit mode - if set to true this will include view modified/view erase data in the resultant autocad file. | |
void | SetViewList (const NXString &viewList) |
Sets the view list - comma separated list of views to export Created in NX6.0.0. | |
int | SurfaceDesignU () |
Returns the surface design u - this will set the surface density along U direction. | |
int | SurfaceDesignV () |
Returns the surface design V - this will set the surface density along V direction. | |
bool | ViewEditMode () |
Returns the view edit mode - if set to true this will include view modified/view erase data in the resultant autocad file. | |
NXString | ViewList () |
Returns the view list - comma separated list of views to export Created in NX6.0.0. |
Represents a DxfdwgCreator to be used when exporting the DXF/DWG Data This class is created using DexManager .
NULL object will be returned from Commit()
To create a new instance of this class, use DexManager::CreateDxfdwgCreator
Default values.
Property | Value |
---|---|
AutoCADRevision |
R2007 |
BcurveDensity |
2 |
ExportFacesAs |
Facets |
ExportFrom |
DisplayPart |
FlattenAssembly |
0 |
OutputFileType |
Dxf |
SurfaceDesignU |
8 |
SurfaceDesignV |
8 |
ViewEditMode |
0 |
Created in NX6.0.0.
AutoCad Revision option.
Returns the autocad revision - this will decide the revision of resultant autocad file.
Created in NX6.0.0.
License requirements : None
Returns the bcurve density - segment density for b-spline curve
Created in NX6.0.0.
License requirements : None
Returns the drawing list - comma separated list of drawings to export
Created in NX6.0.0.
License requirements : None
Returns the export faces as - this will determine if the faces should be exported as facets or polyline mesh
Created in NX6.0.0.
License requirements : None
Returns the export from - this option will determine if data from display part or existing part is exported
Created in NX6.0.0.
License requirements : None
Returns the export selection block - the object selection will be done by this block.
Created in NX6.0.0.
License requirements : None
bool NXOpen::DxfdwgCreator::FileSaveFlag | ( | ) |
Returns the file save flag - this should be set to false if doing File Export
Created in NX6.0.0.
License requirements : None
Returns the flatten assembly - if set to true then assembly structure will not be retained
Created in NX6.0.0.
License requirements : None
Returns the input file - name of file which is being exported.
Created in NX6.0.0.
License requirements : None
Returns the layerMask list - This is list of enabled layers.
for e.g. "1, 3-7, 9-256"
Created in NX6.0.0.
License requirements : None
Returns the objectTypes - this is subcomponent being used to set object types filters.
This will be used to filter objects based on the types
Created in NX6.0.0.
License requirements : None
Returns the output file - the name of dxf/dwg file where output is being written
Created in NX6.0.0.
License requirements : None
Returns the output file type - this option determines the format of output file, It can either be dxf or dwg.
Created in NX6.0.0.
License requirements : None
void NXOpen::DxfdwgCreator::SaveSettings | ( | const NXString & | filename | ) |
Saves the save settings - this will save the settings to a file sepcified
Created in NX6.0.0.
License requirements : None
filename | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::DxfdwgCreator::SetAutoCADRevision | ( | NXOpen::DxfdwgCreator::AutoCADRevisionOptions | autoCADRevision | ) |
Sets the autocad revision - this will decide the revision of resultant autocad file.
Created in NX6.0.0.
License requirements : None
autoCADRevision | autocadrevision |
void NXOpen::DxfdwgCreator::SetBcurveDensity | ( | int | bcurveDensity | ) |
Sets the bcurve density - segment density for b-spline curve
Created in NX6.0.0.
License requirements : None
bcurveDensity | bcurvedensity |
void NXOpen::DxfdwgCreator::SetDrawingArray | ( | const std::vector< NXOpen::TaggedObject * > & | objects | ) |
Sets the drawing - sets the list of drawings to translate
Created in NX6.0.0.
License requirements : None
objects | items in list |
void NXOpen::DxfdwgCreator::SetDrawingList | ( | const NXString & | drawingList | ) |
Sets the drawing list - comma separated list of drawings to export
Created in NX6.0.0.
License requirements : None
drawingList | drawinglist |
void NXOpen::DxfdwgCreator::SetExportFacesAs | ( | NXOpen::DxfdwgCreator::ExportFacesAsOptions | exportFacesAs | ) |
Sets the export faces as - this will determine if the faces should be exported as facets or polyline mesh
Created in NX6.0.0.
License requirements : None
exportFacesAs | exportfacesas |
void NXOpen::DxfdwgCreator::SetExportFrom | ( | NXOpen::DxfdwgCreator::ExportFromOption | exportFrom | ) |
Sets the export from - this option will determine if data from display part or existing part is exported
Created in NX6.0.0.
License requirements : None
exportFrom | exportfrom |
void NXOpen::DxfdwgCreator::SetFileSaveFlag | ( | bool | doingFileSave | ) |
Sets the file save flag - this should be set to false if doing File Export
Created in NX6.0.0.
License requirements : None
doingFileSave | doingfilesave |
void NXOpen::DxfdwgCreator::SetFlattenAssembly | ( | bool | flattenAssembly | ) |
Sets the flatten assembly - if set to true then assembly structure will not be retained
Created in NX6.0.0.
License requirements : None
flattenAssembly | flattenassembly |
void NXOpen::DxfdwgCreator::SetInputFile | ( | const NXString & | filename | ) |
Sets the input file - name of file which is being exported.
Created in NX6.0.0.
License requirements : None
filename | filename |
void NXOpen::DxfdwgCreator::SetLayerMask | ( | const NXString & | layerMask | ) |
Sets the layerMask list - This is list of enabled layers.
for e.g. "1, 3-7, 9-256"
Created in NX6.0.0.
License requirements : None
layerMask | layermask |
void NXOpen::DxfdwgCreator::SetOutputFile | ( | const NXString & | filename | ) |
Sets the output file - the name of dxf/dwg file where output is being written
Created in NX6.0.0.
License requirements : None
filename | filename |
void NXOpen::DxfdwgCreator::SetOutputFileType | ( | NXOpen::DxfdwgCreator::OutputFileTypeOption | outputFileType | ) |
Sets the output file type - this option determines the format of output file, It can either be dxf or dwg.
Created in NX6.0.0.
License requirements : None
outputFileType | outputfiletype |
void NXOpen::DxfdwgCreator::SetSettingsFile | ( | const NXString & | filename | ) |
Sets the settings file - The definition file to read default options
Created in NX6.0.0.
License requirements : None
filename | filename |
void NXOpen::DxfdwgCreator::SetSurfaceDesignU | ( | int | surfaceDesignU | ) |
Sets the surface design u - this will set the surface density along U direction.
Created in NX6.0.0.
License requirements : None
surfaceDesignU | surfacedesignu |
void NXOpen::DxfdwgCreator::SetSurfaceDesignV | ( | int | surfaceDesignV | ) |
Sets the surface design V - this will set the surface density along V direction.
Created in NX6.0.0.
License requirements : None
surfaceDesignV | surfacedesignv |
Returns the settings file - The definition file to read default options
Created in NX6.0.0.
License requirements : None
void NXOpen::DxfdwgCreator::SetViewEditMode | ( | bool | viewEditMode | ) |
Sets the view edit mode - if set to true this will include view modified/view erase data in the resultant autocad file.
Created in NX6.0.0.
License requirements : None
viewEditMode | vieweditmode |
void NXOpen::DxfdwgCreator::SetViewList | ( | const NXString & | viewList | ) |
Sets the view list - comma separated list of views to export
Created in NX6.0.0.
License requirements : None
viewList | viewlist |
Returns the surface design u - this will set the surface density along U direction.
Created in NX6.0.0.
License requirements : None
Returns the surface design V - this will set the surface density along V direction.
Created in NX6.0.0.
License requirements : None
bool NXOpen::DxfdwgCreator::ViewEditMode | ( | ) |
Returns the view edit mode - if set to true this will include view modified/view erase data in the resultant autocad file.
Created in NX6.0.0.
License requirements : None
Returns the view list - comma separated list of views to export
Created in NX6.0.0.
License requirements : None