NX Open C++ Reference Guide
|
Represents a Mechatronics::ElectricalPart builder
To create a new instance of this class, use Mechatronics::ElectricalPartCollection::CreateElectricalPartBuilder
Created in NX9.0.0.
More...
Classes | |
struct | Attribute |
Defined Attribute Structure. More... | |
Public Member Functions | |
std::vector < NXOpen::Mechatronics::ElectricalPartBuilder::Attribute > | GetAttributes () |
Get the attributes data. | |
NXOpen::Mechatronics::SystemObject * | GetOwner () |
Get the owner system object. | |
NXString | PartNumber () |
Returns the part number Created in NX9.0.0. | |
void | SetAttributes (const std::vector< NXOpen::Mechatronics::ElectricalPartBuilder::Attribute > &attribute) |
Set the attributes data. | |
void | SetOwner (NXOpen::Mechatronics::SystemObject *owner) |
Set the owner system object. | |
void | SetPartNumber (const NXString &partNumber) |
Sets the part number Created in NX9.0.0. | |
void | SetPartNumber (const char *partNumber) |
Sets the part number Created in NX9.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 Mechatronics::ElectricalPart builder
To create a new instance of this class, use Mechatronics::ElectricalPartCollection::CreateElectricalPartBuilder
Created in NX9.0.0.
std::vector<NXOpen::Mechatronics::ElectricalPartBuilder::Attribute> NXOpen::Mechatronics::ElectricalPartBuilder::GetAttributes | ( | ) |
Get the attributes data.
NXOpen::Mechatronics::SystemObject* NXOpen::Mechatronics::ElectricalPartBuilder::GetOwner | ( | ) |
Get the owner system object.
NXString NXOpen::Mechatronics::ElectricalPartBuilder::PartNumber | ( | ) |
Returns the part number
Created in NX9.0.0.
License requirements : None
void NXOpen::Mechatronics::ElectricalPartBuilder::SetAttributes | ( | const std::vector< NXOpen::Mechatronics::ElectricalPartBuilder::Attribute > & | attribute | ) |
Set the attributes data.
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
attribute | attribute array |
void NXOpen::Mechatronics::ElectricalPartBuilder::SetOwner | ( | NXOpen::Mechatronics::SystemObject * | owner | ) |
Set the owner system object.
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
owner | owner |
void NXOpen::Mechatronics::ElectricalPartBuilder::SetPartNumber | ( | const NXString & | partNumber | ) |
Sets the part number
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
partNumber | partnumber |
void NXOpen::Mechatronics::ElectricalPartBuilder::SetPartNumber | ( | const char * | partNumber | ) |
Sets the part number
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
partNumber | partnumber |