TagFormCollection Class — NXOpen Python API Reference 12.0.0 documentation

# TagFormCollection Class

class `NXOpen.Mechatronics.``TagFormCollection`

  Bases: `object`

  Represents a collection of TagForm.

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

  New in version NX10.0.0.

# Methods

Method | Description
--- | ---
CreateTagFormBuilder | Creates a `NXOpen.Mechatronics.TagFormBuilder`.
FindObject | Finds the `NXOpen.Mechatronics.TagFormObject` with the given name.

# Method Detail

## CreateTagFormBuilder

`TagFormCollection.``CreateTagFormBuilder`

  Creates a `NXOpen.Mechatronics.TagFormBuilder`.

  Signature `CreateTagFormBuilder(tagFormObject)`

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

  New in version NX10.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## FindObject

`TagFormCollection.``FindObject`

  Finds the `NXOpen.Mechatronics.TagFormObject` with the given name.

  An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals. 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.TagFormObject`.
  Returns: | `NXOpen.Mechatronics.TagFormObject` with this name.
  Return type: | `NXOpen.Mechatronics.TagFormObject`

  New in version NX10.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)