NX Open C++ Reference Guide
|
Represents a NXTo2dCreator to be used when exporting the 2D Data This class is created using DexManager . More...
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 | |
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. | |
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::ObjectSelector * | ExportSelectionBlock () |
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 | SaveIgesSettings (const NXString &filename) |
Saves the save settings - this will save iges the settings to a file sepcified Created in NX6.0.0. | |
void | SaveIgesSettings (const char *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 | SaveNxto2dSettings (const char *filename) |
Returns the save settings - this will save nxto2d the settings to a file sepcified 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 | SetDrawingName (const char *drawingName) |
Sets the drawing Name - name of drawing to export 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 | SetIgesSettingsFile (const char *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 | SetInputFile (const char *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 | SetNxto2dSettingsFile (const char *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 | 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. | |
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. | |
void | SetViewName (const char *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. | |
![]() | |
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. | |
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. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a NXTo2dCreator to be used when exporting the 2D Data This class is created using DexManager .
NULL object will be returned from Commit(). The workpart should be present in the session before calling commit(). <br> To create a new instance of this class, use @link DexManager::CreateNxto2dCreator DexManager::CreateNxto2dCreator @endlink <br>
Default values.
Property | Value |
---|---|
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 |
ProcessHoldFlag |
0 |
SpCurveTolerance |
0.058 |
Created in NX6.0.0.
bool NXOpen::NXTo2dCreator::ConvertGDT | ( | ) |
Returns the convert gdt - if set to true then GDT will convertd as group
Created in NX6.0.0.
License requirements : None
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
filename | NOTE: The full Unicode character set is not supported for this parameter. |
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
filename | NOTE: The full Unicode character set is not supported for this parameter. |
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
filename | NOTE: The full Unicode character set is not supported for this parameter. |
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
filename | NOTE: The full Unicode character set is not supported for this parameter. |
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
convertGDT | convertgdt |
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
objects | items 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
drawingName | drawingname |
void NXOpen::NXTo2dCreator::SetDrawingName | ( | const char * | drawingName | ) |
Sets the drawing Name - name of drawing to export
Created in NX6.0.0.
License requirements : None
drawingName | drawingname |
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
exportData | exportdata |
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
exportFrom | exportfrom |
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
facetBodies | facetbodies |
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
filename | filename |
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
filename | filename |
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
filename | filename |
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
filename | filename |
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
jama | jama |
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
maxLineThickness | maxlinethickness |
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
maxSystem3DModelSpace | maxsystem3dmodelspace |
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
maxSystemPointRes | maxsystempointres |
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
maxUser3DModelSpace | maxuser3dmodelspace |
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
maxUserPointRes | maxuserpointres |
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
filename | filename |
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
filename | filename |
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
filename | filename |
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
filename | filename |
void NXOpen::NXTo2dCreator::SetOutputFileType | ( | NXOpen::NXTo2dCreator::OutputAsOption | outputFileType | ) |
Sets the output file type - output file format
Created in NX6.0.0.
License requirements : None
outputFileType | outputfiletype |
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
outputTo | outputto |
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
overlappingEntities | overlappingentities |
void NXOpen::NXTo2dCreator::SetSpCurveTolerance | ( | double | spCurveTolerance | ) |
Sets the sp curve tolerance
Created in NX6.0.0.
License requirements : None
spCurveTolerance | spcurvetolerance |
void NXOpen::NXTo2dCreator::SetViewName | ( | const NXString & | viewName | ) |
Sets the View Name - name of view to export
Created in NX6.0.0.
License requirements : None
viewName | viewname |
void NXOpen::NXTo2dCreator::SetViewName | ( | const char * | viewName | ) |
Sets the View Name - name of view to export
Created in NX6.0.0.
License requirements : None
viewName | viewname |
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