HoleTableCollection Class — NXOpen Python API Reference 12.0.0 documentation

# HoleTableCollection Class

class `NXOpen.Annotations.``HoleTableCollection`

  Bases: `object`

  Represents a collection of `NXOpen.Annotations.HoleTable` objects

  To obtain an instance of this class, refer to `NXOpen.Annotations.AnnotationManager`

  New in version NX9.0.0.

# Methods

Method | Description
--- | ---
CreateHoleTableBuilder | If None create a new hole table, otherwise edit existing new hole table
FindObject | Finds the hole table with the given name.

# Method Detail

## CreateHoleTableBuilder

`HoleTableCollection.``CreateHoleTableBuilder`

  If None create a new hole table, otherwise edit existing new hole table

  Signature `CreateHoleTableBuilder(holeTable)`

  Parameters: | holeTable (`NXOpen.Annotations.Table`) – hole table
  Returns: |
  Return type: | `NXOpen.Annotations.HoleTableBuilder`

  New in version NX9.0.0.

  License requirements: drafting (“DRAFTING”)

## FindObject

`HoleTableCollection.``FindObject`

  Finds the hole table with the given name.

  An exception will be thrown if no object can be found with given name

  Signature `FindObject(journalIdentifier)`

  Parameters: | journalIdentifier (str) – Identifier of the hole table to be found
  Returns: | hole table with this identifier
  Return type: | `NXOpen.Annotations.HoleTable`

  New in version NX9.0.0.

  License requirements: None.