NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::DxfdwgCreator Class Reference

Represents a DxfdwgCreator to be used when exporting the DXF/DWG Data This class is created using DexManager . More...

Inheritance diagram for NXOpen::DxfdwgCreator:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

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::ObjectSelectorExportSelectionBlock ()
 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::ObjectTypeSelectorObjectTypes ()
 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.

Detailed Description

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.


Member Enumeration Documentation

AutoCad Revision option.

Enumerator:
AutoCADRevisionOptionsR2005 

output autocad version 2005

AutoCADRevisionOptionsR2004 

output autocad version 2004

AutoCADRevisionOptionsR2000 

output autocad version 2000

AutoCADRevisionOptionsR14 

output autocad version R14

AutoCADRevisionOptionsR2007 

output autocad version 2007

AutoCADRevisionOptionsR2010 

output autocad version 2010

Export Faces As option.

Enumerator:
ExportFacesAsOptionsFacets 

export faces as facets

ExportFacesAsOptionsPolylineMesh 

export faces as polyline mesh

Exprot From option.

Enumerator:
ExportFromOptionDisplayPart 

export data from displayed part

ExportFromOptionExistingPart 

export data from existing part which is on disk

Output File Type option.

Enumerator:
OutputFileTypeOptionDxf 

export data to DXF format

OutputFileTypeOptionDwg 

export data to DWG format


Member Function Documentation

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

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

Parameters:
filename
NOTE: The full Unicode character set is not supported for this parameter.

Sets the autocad revision - this will decide the revision of resultant autocad file.


Created in NX6.0.0.

License requirements : None

Parameters:
autoCADRevisionautocadrevision
void NXOpen::DxfdwgCreator::SetBcurveDensity ( int  bcurveDensity)

Sets the bcurve density - segment density for b-spline curve
Created in NX6.0.0.



License requirements : None

Parameters:
bcurveDensitybcurvedensity
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

Parameters:
objectsitems 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

Parameters:
drawingListdrawinglist

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

Parameters:
exportFacesAsexportfacesas

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

Parameters:
exportFromexportfrom
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

Parameters:
doingFileSavedoingfilesave
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

Parameters:
flattenAssemblyflattenassembly
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

Parameters:
filenamefilename
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

Parameters:
layerMasklayermask
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

Parameters:
filenamefilename

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

Parameters:
outputFileTypeoutputfiletype

Sets the settings file - The definition file to read default options
Created in NX6.0.0.



License requirements : None

Parameters:
filenamefilename
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

Parameters:
surfaceDesignUsurfacedesignu
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

Parameters:
surfaceDesignVsurfacedesignv

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

Parameters:
viewEditModevieweditmode
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

Parameters:
viewListviewlist

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

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


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.