ConnectionCollection Class

class NXOpen.Diagramming.ConnectionCollection

Bases: object

Represents a collection of connection.

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

New in version NX10.0.0.

Methods

Method Description
CreateConnectionBuilder Creates a NXOpen.Diagramming.ConnectionBuilder.
FindObject Finds the NXOpen.Diagramming.Connection with the given identifier as recorded in a journal.

Method Detail

CreateConnectionBuilder

ConnectionCollection.CreateConnectionBuilder

Creates a NXOpen.Diagramming.ConnectionBuilder.

Signature CreateConnectionBuilder(connection)

Parameters:connection (NXOpen.Diagramming.Connection) – NXOpen.Diagramming.Connection to be edited, if None then create a new one
Returns:
Return type:NXOpen.Diagramming.ConnectionBuilder

New in version NX10.0.0.

License requirements: None.

FindObject

ConnectionCollection.FindObject

Finds the NXOpen.Diagramming.Connection 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.Connection with this name.
Return type:NXOpen.Diagramming.Connection

New in version NX10.0.0.

License requirements: None.