ScrewJointCollection Class — NXOpen Python API Reference 12.0.0 documentation

# ScrewJointCollection Class

class `NXOpen.Mechatronics.``ScrewJointCollection`

  Bases: `object`

  Represents a collection of Screw Joint.

  To obtain an instance of this class, refer to `NXOpen.Mechatronics.PhysicsManager`

  New in version NX11.0.0.

# Methods

Method | Description
--- | ---
CreateScrewJointBuilder | Creates a `NXOpen.Mechatronics.ScrewJointBuilder`.
FindObject | Finds the `NXOpen.Mechatronics.ScrewJoint` with the given name. An exception will be thrown if no object can be found with given name.

# Method Detail

## CreateScrewJointBuilder

`ScrewJointCollection.``CreateScrewJointBuilder`

  Creates a `NXOpen.Mechatronics.ScrewJointBuilder`.

  Signature `CreateScrewJointBuilder(cylinJoint)`

  Parameters: | cylinJoint (`NXOpen.Mechatronics.ScrewJoint`) – `NXOpen.Mechatronics.ScrewJoint` to be edited, if None then create a new one
  Returns: |
  Return type: | `NXOpen.Mechatronics.ScrewJointBuilder`

  New in version NX11.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## FindObject

`ScrewJointCollection.``FindObject`

  Finds the `NXOpen.Mechatronics.ScrewJoint` with the given name. An exception will be thrown if no object can be found with given name.

  Signature `FindObject(name)`

  Parameters: | name (str) – The name of the `NXOpen.Mechatronics.ScrewJoint`.
  Returns: | `NXOpen.Mechatronics.ScrewJoint` with this name.
  Return type: | `NXOpen.Mechatronics.ScrewJoint`

  New in version NX11.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)