NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::NXTo2dCreator Class Reference

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

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

Public Types

enum  ExportDataOption { ExportDataOptionModelData, ExportDataOptionDrawing }
 Export Data Option. More...
 
enum  ExportFromOption { ExportFromOptionDisplayPart, ExportFromOptionExistingPart }
 Export From Option. More...
 
enum  OutputAsOption { OutputAsOptionNXPartFile, OutputAsOptionIGESFile }
 Output As Option. More...
 
enum  OutputToOption { OutputToOptionModeling, OutputToOptionDrafting }
 Output To Option. More...
 

Public Member Functions

NXString DrawingName ()
 Returns the drawing Name - name of drawing to export
Created in NX6.0.0. More...
 
NXOpen::NXTo2dCreator::ExportDataOption ExportData ()
 Returns the export data - export model data or drawings
Created in NX6.0.0. More...
 
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. More...
 
NXOpen::ObjectSelectorExportSelectionBlock ()
 Returns the export selection block - the object selection will be done by this block. More...
 
bool FacetBodies ()
 Returns the facet bodies - if set to true facet bodies will be exported to 2d part
Created in NX6.0.0. More...
 
NXString IgesSettingsFile ()
 Returns the nxto2d settings file - settings file to read default otions for iges
Created in NX6.0.0. More...
 
NXString InputFile ()
 Returns the input file - name of file which is being exported
Created in NX6.0.0. More...
 
bool Jama ()
 Returns the jama - if set to true the exported data will be Japanese Automotive compliant
Created in NX6.0.0. More...
 
double MaxLineThickness ()
 Returns the max line thickness - maximum line thickness in resulting iges file
Created in NX6.0.0. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
NXString Nxto2dSettingsFile ()
 Returns the nxto2d settings file - settings file to read default otions for nxto2d
Created in NX6.0.0. More...
 
NXString OutputFile ()
 Returns the output file - the name of nx/iges/dxf/dwg file where output is being written
Created in NX6.0.0. More...
 
NXOpen::NXTo2dCreator::OutputAsOption OutputFileType ()
 Returns the output file type - output file format
Created in NX6.0.0. More...
 
NXOpen::NXTo2dCreator::OutputToOption OutputTo ()
 Returns the output to - where to put data in model world or drawing
Created in NX6.0.0. More...
 
bool OverlappingEntities ()
 Returns the overlapping entities - if set to true, the overlpping entities will be removed
Created in NX6.0.0. More...
 
void SaveIgesSettings (const NXString &filename)
 Saves the save settings - this will save iges the settings to a file sepcified
Created in NX6.0.0. More...
 
void SaveIgesSettings (const char *filename)
 Saves the save settings - this will save iges the settings to a file sepcified
Created in NX6.0.0. More...
 
void SaveNxto2dSettings (const NXString &filename)
 Returns the save settings - this will save nxto2d the settings to a file sepcified
Created in NX6.0.0. More...
 
void SaveNxto2dSettings (const char *filename)
 Returns the save settings - this will save nxto2d the settings to a file sepcified
Created in NX6.0.0. More...
 
void SetDrawingArray (const std::vector< NXOpen::TaggedObject * > &objects)
 Sets the drawing - sets the list of drawings to translate
Created in NX6.0.0. More...
 
void SetDrawingName (const NXString &drawingName)
 Sets the drawing Name - name of drawing to export
Created in NX6.0.0. More...
 
void SetDrawingName (const char *drawingName)
 Sets the drawing Name - name of drawing to export
Created in NX6.0.0. More...
 
void SetExportData (NXOpen::NXTo2dCreator::ExportDataOption exportData)
 Sets the export data - export model data or drawings
Created in NX6.0.0. More...
 
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. More...
 
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. More...
 
void SetIgesSettingsFile (const NXString &filename)
 Sets the nxto2d settings file - settings file to read default otions for iges
Created in NX6.0.0. More...
 
void SetIgesSettingsFile (const char *filename)
 Sets the nxto2d settings file - settings file to read default otions for iges
Created in NX6.0.0. More...
 
void SetInputFile (const NXString &filename)
 Sets the input file - name of file which is being exported
Created in NX6.0.0. More...
 
void SetInputFile (const char *filename)
 Sets the input file - name of file which is being exported
Created in NX6.0.0. More...
 
void SetJama (bool jama)
 Sets the jama - if set to true the exported data will be Japanese Automotive compliant
Created in NX6.0.0. More...
 
void SetMaxLineThickness (double maxLineThickness)
 Sets the max line thickness - maximum line thickness in resulting iges file
Created in NX6.0.0. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
void SetNxto2dSettingsFile (const NXString &filename)
 Sets the nxto2d settings file - settings file to read default otions for nxto2d
Created in NX6.0.0. More...
 
void SetNxto2dSettingsFile (const char *filename)
 Sets the nxto2d settings file - settings file to read default otions for nxto2d
Created in NX6.0.0. More...
 
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. More...
 
void SetOutputFile (const char *filename)
 Sets the output file - the name of nx/iges/dxf/dwg file where output is being written
Created in NX6.0.0. More...
 
void SetOutputFileType (NXOpen::NXTo2dCreator::OutputAsOption outputFileType)
 Sets the output file type - output file format
Created in NX6.0.0. More...
 
void SetOutputTo (NXOpen::NXTo2dCreator::OutputToOption outputTo)
 Sets the output to - where to put data in model world or drawing
Created in NX6.0.0. More...
 
void SetOverlappingEntities (bool overlappingEntities)
 Sets the overlapping entities - if set to true, the overlpping entities will be removed
Created in NX6.0.0. More...
 
void SetSpCurveTolerance (double spCurveTolerance)
 Sets the sp curve tolerance
Created in NX6.0.0. More...
 
void SetViewName (const NXString &viewName)
 Sets the View Name - name of view to export
Created in NX6.0.0. More...
 
void SetViewName (const char *viewName)
 Sets the View Name - name of view to export
Created in NX6.0.0. More...
 
double SpCurveTolerance ()
 Returns the sp curve tolerance
Created in NX6.0.0. More...
 
NXString ViewName ()
 Returns the View Name - name of view to export
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::DexBuilder
bool ProcessHoldFlag ()
 Returns the process hold flag - set to true if user wants to wait until transaltion process gets completed
Created in NX8.0.0. More...
 
void SetProcessHoldFlag (bool doingFileSave)
 Sets the process hold flag - set to true if user wants to wait until transaltion process gets completed
Created in NX8.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

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

NULL object will be returned from Commit(). The workpart should be present in the session before calling commit().
To create a new instance of this class, use NXOpen::DexManager::CreateNxto2dCreator
Default values.

Property Value

ExportData

ModelData

ExportFrom

DisplayPart

FacetBodies

0

Jama

0

MaxLineThickness

0

MaxSystem3DModelSpace

0

MaxSystemPointRes

0

MaxUser3DModelSpace

0

MaxUserPointRes

0

OutputFileType

NXPartFile

OutputTo

Modeling

OverlappingEntities

0

ProcessHoldFlag

0

SpCurveTolerance

0.058


Created in NX6.0.0.

Member Enumeration Documentation

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

Output To Option.

Enumerator
OutputToOptionModeling 

output to modeling

OutputToOptionDrafting 

output to drafting

Member Function Documentation

NXString NXOpen::NXTo2dCreator::DrawingName ( )

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



License requirements : None

NXOpen::NXTo2dCreator::ExportDataOption NXOpen::NXTo2dCreator::ExportData ( )

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



License requirements : None

NXOpen::NXTo2dCreator::ExportFromOption NXOpen::NXTo2dCreator::ExportFrom ( )

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

NXOpen::ObjectSelector* NXOpen::NXTo2dCreator::ExportSelectionBlock ( )

Returns the export selection block - the object selection will be done by this block.


Created in NX6.0.0.

License requirements : None

bool NXOpen::NXTo2dCreator::FacetBodies ( )

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



License requirements : None

NXString NXOpen::NXTo2dCreator::IgesSettingsFile ( )

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



License requirements : None

NXString NXOpen::NXTo2dCreator::InputFile ( )

Returns the input file - name of file which is being exported
Created in NX6.0.0.



License requirements : None

bool NXOpen::NXTo2dCreator::Jama ( )

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



License requirements : None

double NXOpen::NXTo2dCreator::MaxLineThickness ( )

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



License requirements : None

bool NXOpen::NXTo2dCreator::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.



License requirements : None

bool NXOpen::NXTo2dCreator::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.



License requirements : None

double NXOpen::NXTo2dCreator::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.



License requirements : None

double NXOpen::NXTo2dCreator::MaxUserPointRes ( )

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

NXString NXOpen::NXTo2dCreator::Nxto2dSettingsFile ( )

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



License requirements : None

NXString NXOpen::NXTo2dCreator::OutputFile ( )

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

NXOpen::NXTo2dCreator::OutputAsOption NXOpen::NXTo2dCreator::OutputFileType ( )

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



License requirements : None

NXOpen::NXTo2dCreator::OutputToOption NXOpen::NXTo2dCreator::OutputTo ( )

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



License requirements : None

bool NXOpen::NXTo2dCreator::OverlappingEntities ( )

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



License requirements : None

void NXOpen::NXTo2dCreator::SaveIgesSettings ( const NXString filename)

Saves the save settings - this will save iges the settings to a file sepcified
Created in NX6.0.0.



License requirements : None

Parameters
filenamefilename
void NXOpen::NXTo2dCreator::SaveIgesSettings ( const char *  filename)

Saves the save settings - this will save iges the settings to a file sepcified
Created in NX6.0.0.



License requirements : None

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

Returns the save settings - this will save nxto2d the settings to a file sepcified
Created in NX6.0.0.



License requirements : None

Parameters
filenamefilename
void NXOpen::NXTo2dCreator::SaveNxto2dSettings ( const char *  filename)

Returns the save settings - this will save nxto2d the settings to a file sepcified
Created in NX6.0.0.



License requirements : None

Parameters
filenamefilename
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
void NXOpen::NXTo2dCreator::SetDrawingName ( const char *  drawingName)

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



License requirements : None

Parameters
drawingNamedrawingname
void NXOpen::NXTo2dCreator::SetExportData ( NXOpen::NXTo2dCreator::ExportDataOption  exportData)

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



License requirements : None

Parameters
exportDataexportdata
void NXOpen::NXTo2dCreator::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.



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
void NXOpen::NXTo2dCreator::SetIgesSettingsFile ( const NXString filename)

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::SetIgesSettingsFile ( const char *  filename)

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::SetInputFile ( const char *  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
void NXOpen::NXTo2dCreator::SetNxto2dSettingsFile ( const NXString filename)

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::SetNxto2dSettingsFile ( const char *  filename)

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
void NXOpen::NXTo2dCreator::SetOutputFile ( const char *  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
void NXOpen::NXTo2dCreator::SetOutputFileType ( NXOpen::NXTo2dCreator::OutputAsOption  outputFileType)

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



License requirements : None

Parameters
outputFileTypeoutputfiletype
void NXOpen::NXTo2dCreator::SetOutputTo ( NXOpen::NXTo2dCreator::OutputToOption  outputTo)

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
void NXOpen::NXTo2dCreator::SetViewName ( const char *  viewName)

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



License requirements : None

Parameters
viewNameviewname
double NXOpen::NXTo2dCreator::SpCurveTolerance ( )

Returns the sp curve tolerance
Created in NX6.0.0.



License requirements : None

NXString NXOpen::NXTo2dCreator::ViewName ( )

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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.