NXOpen C++ Reference Guide
|
Represents the standard part client data. More...
Public Member Functions | |
int | AnalyzePositionMethods (const NXString &positionMethod) |
Analyzes the position methods and set the current position method. More... | |
int | AnalyzePositionMethods (const char *positionMethod) |
Analyzes the position methods and set the current position method. More... | |
void | AssignConceptMoldBaseAttributes (NXOpen::Part *moldBasePart, const NXString &fileContainer, const NXString &assemblyName, const NXString &assemblyPartNumber, const NXString &assemblyItemType, std::vector< NXString > &childrenNames) |
Assigns attributes to the concept mold base Created in NX12.0.2. More... | |
void | AssignConceptMoldBaseAttributes (NXOpen::Part *moldBasePart, const char *fileContainer, const char *assemblyName, const char *assemblyPartNumber, const char *assemblyItemType, std::vector< NXString > &childrenNames) |
Assigns attributes to the concept mold base Created in NX12.0.2. More... | |
NXOpen::Tooling::ConceptStandardPartRecord * | GetConceptStandardPartRecord (NXOpen::Tooling::SpreadsheetData *sheetData, const NXString &fileContainer, const NXString &assemblyName, const NXString &assemblyPartNumber, const NXString &assemblyItemType, std::vector< NXString > &childrenNames) |
Returns the concept standard part record. More... | |
NXOpen::Tooling::ConceptStandardPartRecord * | GetConceptStandardPartRecord (NXOpen::Tooling::SpreadsheetData *sheetData, const char *fileContainer, const char *assemblyName, const char *assemblyPartNumber, const char *assemblyItemType, std::vector< NXString > &childrenNames) |
Returns the concept standard part record. More... | |
NXOpen::Assemblies::Component * | GetRootStandardPartOccurrence () |
Gets the root standard part occurrence in edit. More... | |
void | SetCreatedPartInstance (NXOpen::Assemblies::Component *component) |
Sets the instance of the added standard part Created in NX12.0.2. More... | |
void | SetCurrentStandardPart (const NXString &catalogName, const NXString &className, const NXString ®isteredName) |
Sets the current standard part with specified catalog name, classification name and descriptive name. More... | |
void | SetCurrentStandardPart (const char *catalogName, const char *className, const char *registeredName) |
Sets the current standard part with specified catalog name, classification name and descriptive name. More... | |
void | SetDropData (NXOpen::NXObject *entity, const NXOpen::Point3d &position) |
Sets attaching tool object and drag position of the current standard part Created in NX12.0.2. More... | |
void | SetIsToAddPocketToolBody (bool addPocketToolBody) |
Sets the flag whether to add pocket tool bodies for standard parts Created in NX12.0.2. More... | |
void | SetIsToUseSymbol (bool useSymbol) |
Sets the flag whether to use symbols to represent standard parts Created in NX12.0.2. More... | |
void | SetLastAccessedObject (const NXString &catalogName, const NXString &className, const NXString ®isterName) |
Remember last accessed standard part Created in NX12.0.2. More... | |
void | SetLastAccessedObject (const char *catalogName, const char *className, const char *registerName) |
Remember last accessed standard part Created in NX12.0.2. More... | |
void | SetParentPart (NXOpen::Part *parentPart) |
Sets the parent part of the current standard part Created in NX12.0.2. More... | |
void | SetPositionMethod (const NXString &positionMethod) |
Sets the position method of the current standard part Created in NX12.0.2. More... | |
void | SetPositionMethod (const char *positionMethod) |
Sets the position method of the current standard part Created in NX12.0.2. More... | |
void | SetReferenceSet (int refsetIndex) |
Sets the reference set name of the current standard part with specified index Created in NX12.0.2. More... | |
void | SetReferenceSetName (const NXString &refsetName) |
Sets the reference set name of the current standard part Created in NX12.0.2. More... | |
void | SetReferenceSetName (const char *refsetName) |
Sets the reference set name of the current standard part Created in NX12.0.2. More... | |
void | SetRootStandardPartOccurrence (NXOpen::Assemblies::Component *partOccurrence) |
Sets the root standard part occurrence to edit Created in NX12.0.2. More... | |
void | SetSelectedStandardPartData (const NXString &libName, const NXString &libPath) |
Assign selected standard part data to the client data Created in NX11.0.0. More... | |
void | SetSelectedStandardPartData (const char *libName, const char *libPath) |
Assign selected standard part data to the client data Created in NX11.0.0. More... | |
virtual | ~StandardPartData () |
Dispose the StandardPartClientData object Created in NX11.0.0. More... | |
Public Member Functions inherited from NXOpen::TransientObject | |
void * | GetHandle () |
Handle of the internal object represented by this object. More... | |
Represents the standard part client data.
This object does not need a creator.
Created in NX11.0.0.
|
virtual |
Dispose the StandardPartClientData object
Created in NX11.0.0.
License requirements : None
int NXOpen::Tooling::StandardPartData::AnalyzePositionMethods | ( | const NXString & | positionMethod | ) |
Analyzes the position methods and set the current position method.
positionMethod | the definition string of position method |
int NXOpen::Tooling::StandardPartData::AnalyzePositionMethods | ( | const char * | positionMethod | ) |
Analyzes the position methods and set the current position method.
positionMethod | the definition string of position method |
void NXOpen::Tooling::StandardPartData::AssignConceptMoldBaseAttributes | ( | NXOpen::Part * | moldBasePart, |
const NXString & | fileContainer, | ||
const NXString & | assemblyName, | ||
const NXString & | assemblyPartNumber, | ||
const NXString & | assemblyItemType, | ||
std::vector< NXString > & | childrenNames | ||
) |
Assigns attributes to the concept mold base
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
moldBasePart | The mold base part to assign attributes |
fileContainer | Location to save parts |
assemblyName | Assembly name for creating new parts |
assemblyPartNumber | Part number of the assembly in managed mode NX |
assemblyItemType | Item Type of the assembly in managed mode NX |
childrenNames | Names of the children |
void NXOpen::Tooling::StandardPartData::AssignConceptMoldBaseAttributes | ( | NXOpen::Part * | moldBasePart, |
const char * | fileContainer, | ||
const char * | assemblyName, | ||
const char * | assemblyPartNumber, | ||
const char * | assemblyItemType, | ||
std::vector< NXString > & | childrenNames | ||
) |
Assigns attributes to the concept mold base
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
moldBasePart | The mold base part to assign attributes |
fileContainer | Location to save parts |
assemblyName | Assembly name for creating new parts |
assemblyPartNumber | Part number of the assembly in managed mode NX |
assemblyItemType | Item Type of the assembly in managed mode NX |
childrenNames | Names of the children |
NXOpen::Tooling::ConceptStandardPartRecord* NXOpen::Tooling::StandardPartData::GetConceptStandardPartRecord | ( | NXOpen::Tooling::SpreadsheetData * | sheetData, |
const NXString & | fileContainer, | ||
const NXString & | assemblyName, | ||
const NXString & | assemblyPartNumber, | ||
const NXString & | assemblyItemType, | ||
std::vector< NXString > & | childrenNames | ||
) |
Returns the concept standard part record.
sheetData | Spreadsheet data |
fileContainer | Location to save parts |
assemblyName | Assembly name for creating new parts |
assemblyPartNumber | Part number of the assembly in managed mode NX |
assemblyItemType | Item Type of the assembly in managed mode NX |
childrenNames | Names of the children |
NXOpen::Tooling::ConceptStandardPartRecord* NXOpen::Tooling::StandardPartData::GetConceptStandardPartRecord | ( | NXOpen::Tooling::SpreadsheetData * | sheetData, |
const char * | fileContainer, | ||
const char * | assemblyName, | ||
const char * | assemblyPartNumber, | ||
const char * | assemblyItemType, | ||
std::vector< NXString > & | childrenNames | ||
) |
Returns the concept standard part record.
sheetData | Spreadsheet data |
fileContainer | Location to save parts |
assemblyName | Assembly name for creating new parts |
assemblyPartNumber | Part number of the assembly in managed mode NX |
assemblyItemType | Item Type of the assembly in managed mode NX |
childrenNames | Names of the children |
NXOpen::Assemblies::Component* NXOpen::Tooling::StandardPartData::GetRootStandardPartOccurrence | ( | ) |
Gets the root standard part occurrence in edit.
void NXOpen::Tooling::StandardPartData::SetCreatedPartInstance | ( | NXOpen::Assemblies::Component * | component | ) |
Sets the instance of the added standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
component | The component added or created in current NX session |
void NXOpen::Tooling::StandardPartData::SetCurrentStandardPart | ( | const NXString & | catalogName, |
const NXString & | className, | ||
const NXString & | registeredName | ||
) |
Sets the current standard part with specified catalog name, classification name and descriptive name.
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
catalogName | Catalog name of the current standard part component |
className | Classification name of the current standard part component |
registeredName | Registered name of the current standard part component |
void NXOpen::Tooling::StandardPartData::SetCurrentStandardPart | ( | const char * | catalogName, |
const char * | className, | ||
const char * | registeredName | ||
) |
Sets the current standard part with specified catalog name, classification name and descriptive name.
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
catalogName | Catalog name of the current standard part component |
className | Classification name of the current standard part component |
registeredName | Registered name of the current standard part component |
void NXOpen::Tooling::StandardPartData::SetDropData | ( | NXOpen::NXObject * | entity, |
const NXOpen::Point3d & | position | ||
) |
Sets attaching tool object and drag position of the current standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
entity | The object where the standard part attaches |
position | The position where an object drags |
void NXOpen::Tooling::StandardPartData::SetIsToAddPocketToolBody | ( | bool | addPocketToolBody | ) |
Sets the flag whether to add pocket tool bodies for standard parts
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
addPocketToolBody | True if to add pocket tool bodies |
void NXOpen::Tooling::StandardPartData::SetIsToUseSymbol | ( | bool | useSymbol | ) |
Sets the flag whether to use symbols to represent standard parts
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
useSymbol | True if the user chooses to use symbols to represent standard parts |
void NXOpen::Tooling::StandardPartData::SetLastAccessedObject | ( | const NXString & | catalogName, |
const NXString & | className, | ||
const NXString & | registerName | ||
) |
Remember last accessed standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
catalogName | Catalog name of the standard part last accessed |
className | Classification name of the standard part last accessed |
registerName | Register name of the standard part last accessed |
void NXOpen::Tooling::StandardPartData::SetLastAccessedObject | ( | const char * | catalogName, |
const char * | className, | ||
const char * | registerName | ||
) |
Remember last accessed standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
catalogName | Catalog name of the standard part last accessed |
className | Classification name of the standard part last accessed |
registerName | Register name of the standard part last accessed |
void NXOpen::Tooling::StandardPartData::SetParentPart | ( | NXOpen::Part * | parentPart | ) |
Sets the parent part of the current standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
parentPart | The parent part of the current standard part |
void NXOpen::Tooling::StandardPartData::SetPositionMethod | ( | const NXString & | positionMethod | ) |
Sets the position method of the current standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
positionMethod | The position method used to add a standard part |
void NXOpen::Tooling::StandardPartData::SetPositionMethod | ( | const char * | positionMethod | ) |
Sets the position method of the current standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
positionMethod | The position method used to add a standard part |
void NXOpen::Tooling::StandardPartData::SetReferenceSet | ( | int | refsetIndex | ) |
Sets the reference set name of the current standard part with specified index
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
refsetIndex | The index of the reference set to set |
void NXOpen::Tooling::StandardPartData::SetReferenceSetName | ( | const NXString & | refsetName | ) |
Sets the reference set name of the current standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
refsetName | The name of the reference set applied to the current standard part |
void NXOpen::Tooling::StandardPartData::SetReferenceSetName | ( | const char * | refsetName | ) |
Sets the reference set name of the current standard part
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
refsetName | The name of the reference set applied to the current standard part |
void NXOpen::Tooling::StandardPartData::SetRootStandardPartOccurrence | ( | NXOpen::Assemblies::Component * | partOccurrence | ) |
Sets the root standard part occurrence to edit
Created in NX12.0.2.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
partOccurrence | The root part occurrence of the assembly standard part |
void NXOpen::Tooling::StandardPartData::SetSelectedStandardPartData | ( | const NXString & | libName, |
const NXString & | libPath | ||
) |
Assign selected standard part data to the client data
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
libName | libname |
libPath | libpath |
void NXOpen::Tooling::StandardPartData::SetSelectedStandardPartData | ( | const char * | libName, |
const char * | libPath | ||
) |
Assign selected standard part data to the client data
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") OR ug_die_design ("Die Design")
libName | libname |
libPath | libpath |