NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::PDM::AttributeGroupReviseBuilder Class Reference

Represents an attribute group revise builder. More...

Inheritance diagram for NXOpen::PDM::AttributeGroupReviseBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  SaveAsActionType { SaveAsActionTypeNewRevision, SaveAsActionTypeNewAttributeGroup }
 Represents the save as action on a managed attribute group. More...
 

Public Member Functions

std::vector
< NXOpen::PDM::LogicalObject * > 
GetLogicalObjects ()
 Returns list of logical objects created by the builder for use during the revise operation. More...
 
NXOpen::PDM::OperationErrorsGetOperationErrors ()
 Returns the NXOpen::PDM::OperationErrors object containing information about the attribute groups that failed to revise. More...
 
NXOpen::ErrorListGetOperationFailures ()
 Returns the operation failures during revise of the attribute groups. More...
 
std::vector
< NXOpen::PDM::AttributeGroup * > 
GetRevisedAttributeGroups ()
 Returns a list of attribute groups for use during the revise operation. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

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 NXOpen::PDM::AttributeGroupReviseBuilder::GetRevisedAttributeGroups to get the successfully revised attribute groups after the builder is committed.
Use NXOpen::PDM::IAttributeGroupOwner::CreateAttributeGroupReviseBuilder to create an instance of this class

Created in NX9.0.0.

Member Enumeration Documentation

Represents the save as action on a managed attribute group.

Enumerator
SaveAsActionTypeNewRevision 

new revision

SaveAsActionTypeNewAttributeGroup 

new attribute group

Member Function Documentation

std::vector<NXOpen::PDM::LogicalObject *> NXOpen::PDM::AttributeGroupReviseBuilder::GetLogicalObjects ( )

Returns list of logical objects created by the builder for use during the revise operation.

Returns

Created in NX11.0.0.

License requirements : None
NXOpen::PDM::OperationErrors* NXOpen::PDM::AttributeGroupReviseBuilder::GetOperationErrors ( )

Returns the NXOpen::PDM::OperationErrors object containing information about the attribute groups that failed to revise.

Returns

Created in NX9.0.0.

License requirements : None
NXOpen::ErrorList* NXOpen::PDM::AttributeGroupReviseBuilder::GetOperationFailures ( )

Returns the operation failures during revise of the attribute groups.

Returns

Created in NX11.0.0.

License requirements : None
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.

Returns

Created in NX9.0.0.

License requirements : None

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.