ConnectionCollection Class¶
-
class
NXOpen.Diagramming.ConnectionCollection¶ Bases:
objectRepresents a collection of connection.
To obtain an instance of this class, refer to
NXOpen.Diagramming.DiagrammingManagerNew 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.Connectionto be edited, if None then create a new oneReturns: Return type: NXOpen.Diagramming.ConnectionBuilderNew in version NX10.0.0.
License requirements: None.
FindObject¶
-
ConnectionCollection.FindObject¶ Finds the
NXOpen.Diagramming.Connectionwith 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.Connectionwith this name.Return type: NXOpen.Diagramming.ConnectionNew in version NX10.0.0.
License requirements: None.