NX Open C++ Reference Guide
|
Represents a GroupBuilder
To create a new instance of this class, use BasePart::CreateGatewayGroupBuilder
Default values.
More...
Public Types | |
enum | Action { ActionNewGroup, ActionAddToGroup, ActionRemoveFromGroup, ActionUngroup, ActionEditGroup, ActionNewSketchGroup } |
Represents the type of action for this builder to perform. More... | |
enum | UngroupOption { UngroupOptionTop, UngroupOptionFull } |
Represents the option to control the behavior when deleting a group. More... | |
Public Member Functions | |
int | ActionType () |
Returns the action type for this builder to perform. | |
bool | ActivegroupOption () |
Returns the activegroup option is for sketch group as active group in Direct Sketch, STE or in Drafting Sketch. | |
bool | GroupDisplayProperties () |
Returns the group display option Created in NX7.5.0. | |
NXOpen::SelectGroup * | GroupInAction () |
Returns the group in action Created in NX5.0.0. | |
NXString | GroupName () |
Returns the group name Created in NX5.0.0. | |
NXOpen::SelectObjectList * | ObjectsInGroup () |
Returns the objects in group Created in NX5.0.0. | |
NXOpen::NXObject * | OwningObject () |
Returns the owning object ie sketch object which currently has to be a sketch Created in NX6.0.0. | |
void | SetActionType (int actionType) |
Sets the action type for this builder to perform. | |
void | SetActivegroupOption (bool activegroupOption) |
Sets the activegroup option is for sketch group as active group in Direct Sketch, STE or in Drafting Sketch. | |
void | SetGroupDisplayProperties (bool gdpOption) |
Sets the group display option Created in NX7.5.0. | |
void | SetGroupName (const NXString &groupName) |
Sets the group name Created in NX5.0.0. | |
void | SetOwningObject (NXOpen::NXObject *owningObject) |
Sets the owning object ie sketch object which currently has to be a sketch Created in NX6.0.0. | |
void | SetUngroupLevel (NXOpen::GroupBuilder::UngroupOption ungroupLevel) |
Sets the ungroup level Created in NX5.0.0. | |
void | SetUniqueMembershipOption (bool umgOption) |
Sets the unique membership option ie umg option Created in NX5.0.0. | |
NXOpen::GroupBuilder::UngroupOption | UngroupLevel () |
Returns the ungroup level Created in NX5.0.0. | |
bool | UniqueMembershipOption () |
Returns the unique membership option ie umg option Created in NX5.0.0. |
Represents a GroupBuilder
To create a new instance of this class, use BasePart::CreateGatewayGroupBuilder
Default values.
Property | Value |
---|---|
GroupDisplayProperties |
true |
Created in NX5.0.0.
Represents the type of action for this builder to perform.
ActionNewGroup |
Create New group in Modeling or Drafting. |
ActionAddToGroup |
Add members to existing group in Modeling. |
ActionRemoveFromGroup |
Remove members of existing group in Modeling. |
ActionUngroup |
Delete a group in Modeling or in Sketcher. |
ActionEditGroup |
Edit a group in Modeling or in Sketcher. |
ActionNewSketchGroup |
Create New sktech group in Direct Sketch, STE or in Drafting Sketch. |
int NXOpen::GroupBuilder::ActionType | ( | ) |
Returns the action type for this builder to perform.
Created in NX5.0.0.
License requirements : None
Returns the group display option
Created in NX7.5.0.
License requirements : None
Returns the group in action
Created in NX5.0.0.
License requirements : None
Returns the group name
Created in NX5.0.0.
License requirements : None
Returns the objects in group
Created in NX5.0.0.
License requirements : None
Returns the owning object ie sketch object which currently has to be a sketch
Created in NX6.0.0.
License requirements : None
void NXOpen::GroupBuilder::SetActionType | ( | int | actionType | ) |
Sets the action type for this builder to perform.
Created in NX5.0.0.
License requirements : None
actionType | actiontype |
void NXOpen::GroupBuilder::SetActivegroupOption | ( | bool | activegroupOption | ) |
void NXOpen::GroupBuilder::SetGroupDisplayProperties | ( | bool | gdpOption | ) |
Sets the group display option
Created in NX7.5.0.
License requirements : None
gdpOption | gdpoption |
void NXOpen::GroupBuilder::SetGroupName | ( | const NXString & | groupName | ) |
Sets the group name
Created in NX5.0.0.
License requirements : None
groupName | groupname |
void NXOpen::GroupBuilder::SetOwningObject | ( | NXOpen::NXObject * | owningObject | ) |
Sets the owning object ie sketch object which currently has to be a sketch
Created in NX6.0.0.
License requirements : None
owningObject | owningobject |
void NXOpen::GroupBuilder::SetUngroupLevel | ( | NXOpen::GroupBuilder::UngroupOption | ungroupLevel | ) |
Sets the ungroup level
Created in NX5.0.0.
License requirements : None
ungroupLevel | ungrouplevel |
void NXOpen::GroupBuilder::SetUniqueMembershipOption | ( | bool | umgOption | ) |
Sets the unique membership option ie umg option
Created in NX5.0.0.
License requirements : None
umgOption | umgoption |
Returns the ungroup level
Created in NX5.0.0.
License requirements : None
Returns the unique membership option ie umg option
Created in NX5.0.0.
License requirements : None