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

Represents a NXTo2dCreator to be used when exporting the 2D Data This class is created using DexManager . More...

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

List of all members.

Public Types

enum  AutoCADRevisionOption {
  AutoCADRevisionOptionR2005, AutoCADRevisionOptionR2004, AutoCADRevisionOptionR2000, AutoCADRevisionOptionR14,
  AutoCADRevisionOptionR2007
}
 AutoCad Revision Option. More...
enum  ExportDataOption { ExportDataOptionModelData, ExportDataOptionDrawing }
 Export Data Option. More...
enum  ExportFromOption { ExportFromOptionDisplayPart, ExportFromOptionExistingPart }
 Export From Option. More...
enum  OutputAsOption { OutputAsOptionNXPartFile, OutputAsOptionIGESFile, OutputAsOptionDXFFile, OutputAsOptionDWGFile }
 Output As Option. More...
enum  OutputToOption { OutputToOptionModeling, OutputToOptionDrafting }
 Output To Option. More...

Public Member Functions

NXOpen::NXTo2dCreator::AutoCADRevisionOption AutoCADRevision ()
 Returns the auto cadrevision - 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.
bool ConvertGDT ()
 Returns the convert gdt - if set to true then GDT will convertd as group
Created in NX6.0.0.
NXString DrawingName ()
 Returns the drawing Name - name of drawing to export
Created in NX6.0.0.
NXString DxfSettingsFile ()
 Returns the nxto2d settings file - settings file to read default otions for dxfdwg
Created in NX6.0.0.
NXOpen::NXTo2dCreator::ExportDataOption ExportData ()
 Returns the export data - export model data or drawings
Created in NX6.0.0.
NXOpen::NXTo2dCreator::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 FacetBodies ()
 Returns the facet bodies - if set to true facet bodies will be exported to 2d part
Created in NX6.0.0.
NXString IgesSettingsFile ()
 Returns the nxto2d settings file - settings file to read default otions for iges
Created in NX6.0.0.
NXString InputFile ()
 Returns the input file - name of file which is being exported
Created in NX6.0.0.
bool Jama ()
 Returns the jama - if set to true the exported data will be Japanese Automotive compliant
Created in NX6.0.0.
double MaxLineThickness ()
 Returns the max line thickness - maximum line thickness in resulting iges file
Created in NX6.0.0.
bool MaxSystem3DModelSpace ()
 Returns the sys defmaxThreeDmdl space - if set to true then system defined maximum 3D model space will be used
Created in NX6.0.0.
bool MaxSystemPointRes ()
 Returns the sys defidentical point resolution - if set to true then system defined tolerance will be used to find identical points
Created in NX6.0.0.
double MaxUser3DModelSpace ()
 Returns the maxThree dmdl space - if not using system defined maximum 3D model space then specifiy the new value
Created in NX6.0.0.
double MaxUserPointRes ()
 Returns the identical point resolution - if not using system defined tolerance for identical points then specify new value
Created in NX6.0.0.
NXString Nxto2dSettingsFile ()
 Returns the nxto2d settings file - settings file to read default otions for nxto2d
Created in NX6.0.0.
NXString OutputFile ()
 Returns the output file - the name of nx/iges/dxf/dwg file where output is being written
Created in NX6.0.0.
NXOpen::NXTo2dCreator::OutputAsOption OutputFileType ()
 Returns the output file type - output file format
Created in NX6.0.0.
NXOpen::NXTo2dCreator::OutputToOption OutputTo ()
 Returns the output to - where to put data in model world or drawing
Created in NX6.0.0.
bool OverlappingEntities ()
 Returns the overlapping entities - if set to true, the overlpping entities will be removed
Created in NX6.0.0.
void SaveDxfdwgSettings (const NXString &filename)
 Saves the save settings - this will save dxfdwg the settings to a file sepcified
Created in NX6.0.0.
void SaveIgesSettings (const NXString &filename)
 Saves the save settings - this will save iges the settings to a file sepcified
Created in NX6.0.0.
void SaveNxto2dSettings (const NXString &filename)
 Returns the save settings - this will save nxto2d the settings to a file sepcified
Created in NX6.0.0.
void SetAutoCADRevision (NXOpen::NXTo2dCreator::AutoCADRevisionOption autoCADRevision)
 Sets the auto cadrevision - 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 SetConvertGDT (bool convertGDT)
 Sets the convert gdt - if set to true then GDT will convertd as group
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 SetDrawingName (const NXString &drawingName)
 Sets the drawing Name - name of drawing to export
Created in NX6.0.0.
void SetDxfSettingsFile (const NXString &filename)
 Sets the nxto2d settings file - settings file to read default otions for dxfdwg
Created in NX6.0.0.
void SetExportData (NXOpen::NXTo2dCreator::ExportDataOption exportData)
 Sets the export data - export model data or drawings
Created in NX6.0.0.
void SetExportFrom (NXOpen::NXTo2dCreator::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 SetFacetBodies (bool facetBodies)
 Sets the facet bodies - if set to true facet bodies will be exported to 2d part
Created in NX6.0.0.
void SetIgesSettingsFile (const NXString &filename)
 Sets the nxto2d settings file - settings file to read default otions for iges
Created in NX6.0.0.
void SetInputFile (const NXString &filename)
 Sets the input file - name of file which is being exported
Created in NX6.0.0.
void SetJama (bool jama)
 Sets the jama - if set to true the exported data will be Japanese Automotive compliant
Created in NX6.0.0.
void SetMaxLineThickness (double maxLineThickness)
 Sets the max line thickness - maximum line thickness in resulting iges file
Created in NX6.0.0.
void SetMaxSystem3DModelSpace (bool maxSystem3DModelSpace)
 Sets the sys defmaxThreeDmdl space - if set to true then system defined maximum 3D model space will be used
Created in NX6.0.0.
void SetMaxSystemPointRes (bool maxSystemPointRes)
 Sets the sys defidentical point resolution - if set to true then system defined tolerance will be used to find identical points
Created in NX6.0.0.
void SetMaxUser3DModelSpace (double maxUser3DModelSpace)
 Sets the maxThree dmdl space - if not using system defined maximum 3D model space then specifiy the new value
Created in NX6.0.0.
void SetMaxUserPointRes (double maxUserPointRes)
 Sets the identical point resolution - if not using system defined tolerance for identical points then specify new value
Created in NX6.0.0.
void SetNxto2dSettingsFile (const NXString &filename)
 Sets the nxto2d settings file - settings file to read default otions for nxto2d
Created in NX6.0.0.
void SetOutputFile (const NXString &filename)
 Sets the output file - the name of nx/iges/dxf/dwg file where output is being written
Created in NX6.0.0.
void SetOutputFileType (NXOpen::NXTo2dCreator::OutputAsOption outputFileType)
 Sets the output file type - output file format
Created in NX6.0.0.
void SetOutputTo (NXOpen::NXTo2dCreator::OutputToOption outputTo)
 Sets the output to - where to put data in model world or drawing
Created in NX6.0.0.
void SetOverlappingEntities (bool overlappingEntities)
 Sets the overlapping entities - if set to true, the overlpping entities will be removed
Created in NX6.0.0.
void SetSpCurveTolerance (double spCurveTolerance)
 Sets the sp curve tolerance
Created in NX6.0.0.
void SetViewName (const NXString &viewName)
 Sets the View Name - name of view to export
Created in NX6.0.0.
double SpCurveTolerance ()
 Returns the sp curve tolerance
Created in NX6.0.0.
NXString ViewName ()
 Returns the View Name - name of view to export
Created in NX6.0.0.

Detailed Description

Represents a NXTo2dCreator to be used when exporting the 2D Data This class is created using DexManager .

NULL object will be returned from Commit()
To create a new instance of this class, use DexManager::CreateNxto2dCreator
Default values.

Property Value

AutoCADRevision

R2007

BcurveDensity

2

ConvertGDT

0

ExportData

ModelData

ExportFrom

DisplayPart

FacetBodies

0

Jama

0

MaxLineThickness

0

MaxSystem3DModelSpace

0

MaxSystemPointRes

0

MaxUser3DModelSpace

0

MaxUserPointRes

0

OutputFileType

NXPartFile

OutputTo

Modeling

OverlappingEntities

0

SpCurveTolerance

0.058


Created in NX6.0.0.


Member Enumeration Documentation

AutoCad Revision Option.

Enumerator:
AutoCADRevisionOptionR2005 

output autocad version 2005

AutoCADRevisionOptionR2004 

output autocad version 2004

AutoCADRevisionOptionR2000 

output autocad version 2000

AutoCADRevisionOptionR14 

output autocad version R14

AutoCADRevisionOptionR2007 

output autocad version 2007

Export Data Option.

Enumerator:
ExportDataOptionModelData 

export model data only

ExportDataOptionDrawing 

export drawings only

Export From Option.

Enumerator:
ExportFromOptionDisplayPart 

export data from displayed part

ExportFromOptionExistingPart 

export data from existing part which is on disk

Output As Option.

Enumerator:
OutputAsOptionNXPartFile 

final output as nx part

OutputAsOptionIGESFile 

final output as iges file

OutputAsOptionDXFFile 

final output as dxf file

OutputAsOptionDWGFile 

final output as dwg file

Output To Option.

Enumerator:
OutputToOptionModeling 

output to modeling

OutputToOptionDrafting 

output to drafting


Member Function Documentation

Returns the auto cadrevision - 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 convert gdt - if set to true then GDT will convertd as group
Created in NX6.0.0.



License requirements : None

Returns the drawing Name - name of drawing to export
Created in NX6.0.0.



License requirements : None

Returns the nxto2d settings file - settings file to read default otions for dxfdwg
Created in NX6.0.0.



License requirements : None

Returns the export data - export model data or drawings
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 facet bodies - if set to true facet bodies will be exported to 2d part
Created in NX6.0.0.



License requirements : None

Returns the nxto2d settings file - settings file to read default otions for iges
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 jama - if set to true the exported data will be Japanese Automotive compliant
Created in NX6.0.0.



License requirements : None

Returns the max line thickness - maximum line thickness in resulting iges file
Created in NX6.0.0.



License requirements : None

Returns the sys defmaxThreeDmdl space - if set to true then system defined maximum 3D model space will be used
Created in NX6.0.0.



License requirements : None

Returns the sys defidentical point resolution - if set to true then system defined tolerance will be used to find identical points
Created in NX6.0.0.



License requirements : None

Returns the maxThree dmdl space - if not using system defined maximum 3D model space then specifiy the new value
Created in NX6.0.0.



License requirements : None

Returns the identical point resolution - if not using system defined tolerance for identical points then specify new value
Created in NX6.0.0.



License requirements : None

Returns the nxto2d settings file - settings file to read default otions for nxto2d
Created in NX6.0.0.



License requirements : None

Returns the output file - the name of nx/iges/dxf/dwg file where output is being written
Created in NX6.0.0.



License requirements : None

Returns the output file type - output file format
Created in NX6.0.0.



License requirements : None

Returns the output to - where to put data in model world or drawing
Created in NX6.0.0.



License requirements : None

Returns the overlapping entities - if set to true, the overlpping entities will be removed
Created in NX6.0.0.



License requirements : None

Saves the save settings - this will save dxfdwg 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.

Saves the save settings - this will save iges 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.

Returns the save settings - this will save nxto2d 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 auto cadrevision - this will decide the revision of resultant autocad file.


Created in NX6.0.0.

License requirements : None

Parameters:
autoCADRevisionautocadrevision
void NXOpen::NXTo2dCreator::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::NXTo2dCreator::SetConvertGDT ( bool  convertGDT)

Sets the convert gdt - if set to true then GDT will convertd as group
Created in NX6.0.0.



License requirements : None

Parameters:
convertGDTconvertgdt
void NXOpen::NXTo2dCreator::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::NXTo2dCreator::SetDrawingName ( const NXString drawingName)

Sets the drawing Name - name of drawing to export
Created in NX6.0.0.



License requirements : None

Parameters:
drawingNamedrawingname

Sets the nxto2d settings file - settings file to read default otions for dxfdwg
Created in NX6.0.0.



License requirements : None

Parameters:
filenamefilename

Sets the export data - export model data or drawings
Created in NX6.0.0.



License requirements : None

Parameters:
exportDataexportdata

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::NXTo2dCreator::SetFacetBodies ( bool  facetBodies)

Sets the facet bodies - if set to true facet bodies will be exported to 2d part
Created in NX6.0.0.



License requirements : None

Parameters:
facetBodiesfacetbodies

Sets the nxto2d settings file - settings file to read default otions for iges
Created in NX6.0.0.



License requirements : None

Parameters:
filenamefilename
void NXOpen::NXTo2dCreator::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::NXTo2dCreator::SetJama ( bool  jama)

Sets the jama - if set to true the exported data will be Japanese Automotive compliant
Created in NX6.0.0.



License requirements : None

Parameters:
jamajama
void NXOpen::NXTo2dCreator::SetMaxLineThickness ( double  maxLineThickness)

Sets the max line thickness - maximum line thickness in resulting iges file
Created in NX6.0.0.



License requirements : None

Parameters:
maxLineThicknessmaxlinethickness
void NXOpen::NXTo2dCreator::SetMaxSystem3DModelSpace ( bool  maxSystem3DModelSpace)

Sets the sys defmaxThreeDmdl space - if set to true then system defined maximum 3D model space will be used
Created in NX6.0.0.



License requirements : None

Parameters:
maxSystem3DModelSpacemaxsystem3dmodelspace
void NXOpen::NXTo2dCreator::SetMaxSystemPointRes ( bool  maxSystemPointRes)

Sets the sys defidentical point resolution - if set to true then system defined tolerance will be used to find identical points
Created in NX6.0.0.



License requirements : None

Parameters:
maxSystemPointResmaxsystempointres
void NXOpen::NXTo2dCreator::SetMaxUser3DModelSpace ( double  maxUser3DModelSpace)

Sets the maxThree dmdl space - if not using system defined maximum 3D model space then specifiy the new value
Created in NX6.0.0.



License requirements : None

Parameters:
maxUser3DModelSpacemaxuser3dmodelspace
void NXOpen::NXTo2dCreator::SetMaxUserPointRes ( double  maxUserPointRes)

Sets the identical point resolution - if not using system defined tolerance for identical points then specify new value
Created in NX6.0.0.



License requirements : None

Parameters:
maxUserPointResmaxuserpointres

Sets the nxto2d settings file - settings file to read default otions for nxto2d
Created in NX6.0.0.



License requirements : None

Parameters:
filenamefilename
void NXOpen::NXTo2dCreator::SetOutputFile ( const NXString filename)

Sets the output file - the name of nx/iges/dxf/dwg file where output is being written
Created in NX6.0.0.



License requirements : None

Parameters:
filenamefilename

Sets the output file type - output file format
Created in NX6.0.0.



License requirements : None

Parameters:
outputFileTypeoutputfiletype

Sets the output to - where to put data in model world or drawing
Created in NX6.0.0.



License requirements : None

Parameters:
outputTooutputto
void NXOpen::NXTo2dCreator::SetOverlappingEntities ( bool  overlappingEntities)

Sets the overlapping entities - if set to true, the overlpping entities will be removed
Created in NX6.0.0.



License requirements : None

Parameters:
overlappingEntitiesoverlappingentities
void NXOpen::NXTo2dCreator::SetSpCurveTolerance ( double  spCurveTolerance)

Sets the sp curve tolerance
Created in NX6.0.0.



License requirements : None

Parameters:
spCurveTolerancespcurvetolerance
void NXOpen::NXTo2dCreator::SetViewName ( const NXString viewName)

Sets the View Name - name of view to export
Created in NX6.0.0.



License requirements : None

Parameters:
viewNameviewname

Returns the sp curve tolerance
Created in NX6.0.0.



License requirements : None

Returns the View Name - name of view 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.