NX Open C++ Reference Guide
|
Represents an attribute group revise builder. More...
Public Member Functions | |
NXOpen::PDM::OperationErrors * | GetOperationErrors () |
Returns the PDM::OperationErrors object containing information about the attribute groups that failed to revise. | |
std::vector < NXOpen::PDM::AttributeGroup * > | GetRevisedAttributeGroups () |
Returns a list of attribute groups for use during the revise operation. | |
![]() | |
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 an attribute group revise builder.
Given a list of existing attribute groups for an attribute group owner, a new revision for each attribute group is created.
Note: The Builder::Commit returns NULL for this builder. Use the PDM::AttributeGroupReviseBuilder::GetRevisedAttributeGroups to get the successfully revised attribute groups after the builder is committed.
Use PDM::IAttributeGroupOwner::CreateAttributeGroupReviseBuilder to create an instance of this class
Created in NX9.0.0.
NXOpen::PDM::OperationErrors* NXOpen::PDM::AttributeGroupReviseBuilder::GetOperationErrors | ( | ) |
Returns the PDM::OperationErrors object containing information about the attribute groups that failed to revise.
std::vector<NXOpen::PDM::AttributeGroup *> NXOpen::PDM::AttributeGroupReviseBuilder::GetRevisedAttributeGroups | ( | ) |
Returns a list of attribute groups for use during the revise operation.
Before the builder is committed this list of attribute groups is used to set any required user attribute. The attribute groups do not exist in Teamcenter until the builder is committed. After the builder is committed the list only contains successfully revised attribute groups. Any attribute groups that failed to revise are removed from the list and are no longer valid after commit. Call this method after commit to get a list of the successfully revised attribute groups.