TitleBlockCollection Class — NXOpen Python API Reference 12.0.0 documentation

# TitleBlockCollection Class

class `NXOpen.Annotations.``TitleBlockCollection`

  Bases: `object`

  Represents a collection of `NXOpen.Annotations.TitleBlock`.

  To obtain an instance of this class, refer to `NXOpen.Drafting.DraftingApplicationManager`

  New in version NX8.0.0.

# Methods

Method | Description
--- | ---
CreateCellBuilder | Creates a cell builder
CreateDefineTitleBlockBuilder | Creates a `NXOpen.Annotations.DefineTitleBlockBuilder`.
CreateEditTitleBlockBuilder | Creates a `NXOpen.Annotations.EditTitleBlockBuilder`.

# Method Detail

## CreateCellBuilder

`TitleBlockCollection.``CreateCellBuilder`

  Creates a cell builder

  Signature `CreateCellBuilder(object, isLocked, contentType, value, label, canLockStatusChange)`

  Parameters:

  - object (`NXOpen.DisplayableObject`) –
  - isLocked (bool) –
  - contentType (int) –
  - value (str) –
  - label (str) –
  - canLockStatusChange (bool) –

  Returns: |
  Return type: | `NXOpen.Annotations.TitleBlockCellBuilder`

  New in version NX8.0.0.

  License requirements: None.

## CreateDefineTitleBlockBuilder

`TitleBlockCollection.``CreateDefineTitleBlockBuilder`

  Creates a `NXOpen.Annotations.DefineTitleBlockBuilder`.

  This builder provides functions to create a new title block from tabular notes or add/remove tabular notes from existing title block. It also permits user to edit label and lock status of cells. If you want to edit values of cells in existing title block, please use `NXOpen.Annotations.EditTitleBlockBuilder`.

  Signature `CreateDefineTitleBlockBuilder(titleblock)`

  Parameters: | titleblock (`NXOpen.Annotations.TitleBlock`) –
  Returns: |
  Return type: | `NXOpen.Annotations.DefineTitleBlockBuilder`

  New in version NX8.0.0.

  License requirements: None.

## CreateEditTitleBlockBuilder

`TitleBlockCollection.``CreateEditTitleBlockBuilder`

  Creates a `NXOpen.Annotations.EditTitleBlockBuilder`.

  This builder provides functions for editing values of unlocked cells in one or more title blocks. If you want to create a new title block from tabular notes or add/remove tabular notes from existing title block, please use `NXOpen.Annotations.DefineTitleBlockBuilder`.

  Signature `CreateEditTitleBlockBuilder(titleBlocks)`

  Parameters: | titleBlocks (list of `NXOpen.Annotations.TitleBlock`) –
  Returns: |
  Return type: | `NXOpen.Annotations.EditTitleBlockBuilder`

  New in version NX8.0.0.

  License requirements: None.