ConnectedPart Class — NXOpen Python API Reference 12.0.0 documentation

# ConnectedPart Class

class `NXOpen.Weld.``ConnectedPart`

  Bases: `NXOpen.TransientObject`

  Represents weld connected part to customize the retrieval of connected part information.

  New in version NX11.0.0.

# Methods

Method | Description
--- | ---
Dispose | Free resources associated with the instance.
GetNumberSets | Get the number of connected sets.
GetSetInformation | Get the individual connected set data.

# Method Detail

## Dispose

`ConnectedPart.``Dispose`

  Free resources associated with the instance.

  After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

  Signature `Dispose()`

  New in version NX11.0.0.

  License requirements: None.

## GetNumberSets

`ConnectedPart.``GetNumberSets`

  Get the number of connected sets.

  Use this to limit the number of iterations when calling `NXOpen.Weld.ConnectedPart.GetSetInformation()`.

  Signature `GetNumberSets()`

  Returns: |
  Return type: | int

  New in version NX11.0.0.

  License requirements: None.

## GetSetInformation

`ConnectedPart.``GetSetInformation`

  Get the individual connected set data.

  Signature `GetSetInformation(setIndex)`

  Parameters: | setIndex (int) – Index of set to gather information for
  Returns: | Array of connected set information. Should be freed.
  Return type: | list of `NXOpen.NXObject`

  New in version NX11.0.0.

  License requirements: None.