NX Open C++ Reference Guide
|
Represents a Features::PartModule builder
To create a new instance of this class, use Features::FeatureCollection::CreateRenameLinkedPartModulePartBuilder
Created in NX9.0.0.
More...
Public Member Functions | |
void | GetAllAssociatedLinkedPartModulePartTags (NXOpen::Part *mainPartTag, std::vector< NXOpen::Part * > &linkedPartTags) |
Get all linked part module part tags associated with given main part. | |
NXString | GetLinkedPartNameToBeSavedAs (NXOpen::Part *linkedPartTag) |
Retrieve new name of linked part module part added earlier for "Save As". | |
void | GetLinkedPartNameToBeSavedAs (std::vector< NXString > &fileName) |
Retrieve all linked part module parts and their associated new names. | |
void | SetLinkedPartNameToBeSavedAs (NXOpen::Part *linkedPartTag, const NXString &fileName) |
Add linked part module part tag and its new name to perform "Save As" along with its main part. | |
void | SetLinkedPartNameToBeSavedAs (NXOpen::Part *linkedPartTag, const char *fileName) |
Add linked part module part tag and its new name to perform "Save As" along with its main part. | |
void | SetLinkedPartNameToBeSavedAs (const std::vector< NXOpen::Part * > &linkedPartTag, std::vector< NXString > &fileName) |
Add multiple linked part module part tags and their new names to perform "Save As" along with its main part. | |
![]() | |
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 Features::PartModule builder
To create a new instance of this class, use Features::FeatureCollection::CreateRenameLinkedPartModulePartBuilder
Created in NX9.0.0.
void NXOpen::GeometricUtilities::RenameLinkedPartModulePartBuilder::GetAllAssociatedLinkedPartModulePartTags | ( | NXOpen::Part * | mainPartTag, |
std::vector< NXOpen::Part * > & | linkedPartTags | ||
) |
Get all linked part module part tags associated with given main part.
This function will also load linked parts if they are not loaded.
Created in NX9.0.0.
License requirements : None
mainPartTag | the main part for which linked part module parts are to be queried |
linkedPartTags | all associated linked part module parts |
NXString NXOpen::GeometricUtilities::RenameLinkedPartModulePartBuilder::GetLinkedPartNameToBeSavedAs | ( | NXOpen::Part * | linkedPartTag | ) |
Retrieve new name of linked part module part added earlier for "Save As".
linkedPartTag | the linked part |
void NXOpen::GeometricUtilities::RenameLinkedPartModulePartBuilder::GetLinkedPartNameToBeSavedAs | ( | std::vector< NXString > & | fileName | ) |
Retrieve all linked part module parts and their associated new names.
Created in NX9.0.0.
License requirements : None
fileName | new linked part file name |
void NXOpen::GeometricUtilities::RenameLinkedPartModulePartBuilder::SetLinkedPartNameToBeSavedAs | ( | NXOpen::Part * | linkedPartTag, |
const NXString & | fileName | ||
) |
Add linked part module part tag and its new name to perform "Save As" along with its main part.
Created in NX9.0.0.
License requirements : None
linkedPartTag | the linked part |
fileName | new linked part file name NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::GeometricUtilities::RenameLinkedPartModulePartBuilder::SetLinkedPartNameToBeSavedAs | ( | NXOpen::Part * | linkedPartTag, |
const char * | fileName | ||
) |
Add linked part module part tag and its new name to perform "Save As" along with its main part.
Created in NX9.0.0.
License requirements : None
linkedPartTag | the linked part |
fileName | new linked part file name NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::GeometricUtilities::RenameLinkedPartModulePartBuilder::SetLinkedPartNameToBeSavedAs | ( | const std::vector< NXOpen::Part * > & | linkedPartTag, |
std::vector< NXString > & | fileName | ||
) |
Add multiple linked part module part tags and their new names to perform "Save As" along with its main part.
Created in NX9.0.0.
License requirements : None
linkedPartTag | the linked part |
fileName | new linked part file name NOTE: The full Unicode character set is not supported for this parameter. |