GroupCollection Class

class NXOpen.Diagramming.GroupCollection

Bases: object

Represents a collection of group.

To obtain an instance of this class, refer to NXOpen.Diagramming.DiagrammingManager

New in version NX10.0.0.

Methods

Method Description
CreateGroupBuilder Creates a NXOpen.Diagramming.GroupBuilder.
FindObject Finds the NXOpen.Diagramming.Group with the given identifier as recorded in a journal.

Method Detail

CreateGroupBuilder

GroupCollection.CreateGroupBuilder

Creates a NXOpen.Diagramming.GroupBuilder.

Signature CreateGroupBuilder(group)

Parameters:group (NXOpen.Diagramming.Group) – NXOpen.Diagramming.Group to be edited, if None then create a new one
Returns:
Return type:NXOpen.Diagramming.GroupBuilder

New in version NX10.0.0.

License requirements: None.

FindObject

GroupCollection.FindObject

Finds the NXOpen.Diagramming.Group with the given identifier as recorded in a journal.

An exception will be thrown if no object can be found with given name.

Signature FindObject(journalIdentifier)

Parameters:journalIdentifier (str) – Identifier to be found
Returns:NXOpen.Diagramming.Group with this name.
Return type:NXOpen.Diagramming.Group

New in version NX10.0.0.

License requirements: None.