NX Open C++ Reference Guide
|
Builder class for assigning AD type to NXOpen::Part and name to NXOpen::Assemblies::Component
To create a new instance of this class, use NXOpen::AME::AMEManager::CreateManageObjectTypeBuilder
Created in NX12.0.0.
More...
Public Member Functions | |
void | AssignNewType (const std::vector< NXOpen::Part * > &parts, const NXString &newType) |
Assigns AD Type to input parts Created in NX12.0.0. More... | |
void | AssignNewType (const std::vector< NXOpen::Part * > &parts, const char *newType) |
Assigns AD Type to input parts Created in NX12.0.0. More... | |
void | RemoveType (const std::vector< NXOpen::Part * > &parts) |
Removes AD Type from input parts Created in NX12.0.0. More... | |
void | RenameComponent (NXOpen::Assemblies::Component *partOccurrence, const NXString &name) |
Assigns new name to the input component Created in NX12.0.0. More... | |
void | RenameComponent (NXOpen::Assemblies::Component *partOccurrence, const char *name) |
Assigns new name to the input component Created in NX12.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Builder class for assigning AD type to NXOpen::Part and name to NXOpen::Assemblies::Component
To create a new instance of this class, use NXOpen::AME::AMEManager::CreateManageObjectTypeBuilder
Created in NX12.0.0.
void NXOpen::AME::ManageObjectTypeBuilder::AssignNewType | ( | const std::vector< NXOpen::Part * > & | parts, |
const NXString & | newType | ||
) |
Assigns AD Type to input parts
Created in NX12.0.0.
License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")
parts | parts |
newType | newtype |
void NXOpen::AME::ManageObjectTypeBuilder::AssignNewType | ( | const std::vector< NXOpen::Part * > & | parts, |
const char * | newType | ||
) |
Assigns AD Type to input parts
Created in NX12.0.0.
License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")
parts | parts |
newType | newtype |
void NXOpen::AME::ManageObjectTypeBuilder::RemoveType | ( | const std::vector< NXOpen::Part * > & | parts | ) |
Removes AD Type from input parts
Created in NX12.0.0.
License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")
parts | parts |
void NXOpen::AME::ManageObjectTypeBuilder::RenameComponent | ( | NXOpen::Assemblies::Component * | partOccurrence, |
const NXString & | name | ||
) |
Assigns new name to the input component
Created in NX12.0.0.
License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")
partOccurrence | partoccurrence |
name | name |
void NXOpen::AME::ManageObjectTypeBuilder::RenameComponent | ( | NXOpen::Assemblies::Component * | partOccurrence, |
const char * | name | ||
) |
Assigns new name to the input component
Created in NX12.0.0.
License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")
partOccurrence | partoccurrence |
name | name |