DiagrammingManager Class — NXOpen Python API Reference 12.0.0 documentation

# DiagrammingManager Class

class `NXOpen.Diagramming.``DiagrammingManager`

  Bases: `object`

  A manager to deal with all objects.

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

  New in version NX10.0.0.

# Properties

Property | Description
--- | ---
ActiveSheet | Returns or sets the active sheet
Nodes | Returns the `NXOpen.Diagramming.NodeCollection` belonging to this part
Sheets | Returns the `NXOpen.Diagramming.SheetCollection` belonging to this part
Connections | Returns the `NXOpen.Diagramming.ConnectionCollection` belonging to this part
Groups | Returns the `NXOpen.Diagramming.GroupCollection` belonging to this part
Shapes | Returns the `NXOpen.Diagramming.ShapeCollection` belonging to this part
Ports | Returns the `NXOpen.Diagramming.PortCollection` belonging to this part
Annotations | Returns the `NXOpen.Diagramming.AnnotationCollection` belonging to this part
LeaderLines | Returns the `NXOpen.Diagramming.LeaderLineCollection` belonging to this part
SheetBordersAndZones | Returns the `NXOpen.Diagramming.SheetBordersAndZonesCollection` belonging to this part
Tables | Returns the `NXOpen.Diagramming.Tables.TableCollection` belonging to this part
TitleBlocks | Returns the `NXOpen.Diagramming.TitleBlockCollection` belonging to this part

# Methods

Method | Description
--- | ---
CreateBulkEditBuilder | Creates a `NXOpen.Diagramming.BulkEditBuilder`
CreateCannedAnnotationBuilder | Creates a `NXOpen.Diagramming.CannedAnnotationBuilder`.
OpenSheet | Opens a `NXOpen.Diagramming.Sheet`.

# Property Detail

## ActiveSheet

`DiagrammingManager.``ActiveSheet`

  Returns or sets the active sheet

  `-------------------------------------`

  Getter Method

  Signature `ActiveSheet`

  Returns: |
  Return type: | `NXOpen.Diagramming.Sheet`

  New in version NX11.0.0.

  Deprecated since version NX12.0.0: Moved to SheetManager

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ActiveSheet`

  Parameters: | sheet (`NXOpen.Diagramming.Sheet`) –

  New in version NX11.0.0.

  Deprecated since version NX12.0.0: Moved to SheetManager

  License requirements: None.

## Nodes

`DiagrammingManager.``Nodes`

  Returns the `NXOpen.Diagramming.NodeCollection` belonging to this part

  Signature `Nodes`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.NodeCollection`

## Sheets

`DiagrammingManager.``Sheets`

  Returns the `NXOpen.Diagramming.SheetCollection` belonging to this part

  Signature `Sheets`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.SheetCollection`

## Connections

`DiagrammingManager.``Connections`

  Returns the `NXOpen.Diagramming.ConnectionCollection` belonging to this part

  Signature `Connections`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.ConnectionCollection`

## Groups

`DiagrammingManager.``Groups`

  Returns the `NXOpen.Diagramming.GroupCollection` belonging to this part

  Signature `Groups`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.GroupCollection`

## Shapes

`DiagrammingManager.``Shapes`

  Returns the `NXOpen.Diagramming.ShapeCollection` belonging to this part

  Signature `Shapes`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.ShapeCollection`

## Ports

`DiagrammingManager.``Ports`

  Returns the `NXOpen.Diagramming.PortCollection` belonging to this part

  Signature `Ports`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.PortCollection`

## Annotations

`DiagrammingManager.``Annotations`

  Returns the `NXOpen.Diagramming.AnnotationCollection` belonging to this part

  Signature `Annotations`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.AnnotationCollection`

## LeaderLines

`DiagrammingManager.``LeaderLines`

  Returns the `NXOpen.Diagramming.LeaderLineCollection` belonging to this part

  Signature `LeaderLines`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.LeaderLineCollection`

## SheetBordersAndZones

`DiagrammingManager.``SheetBordersAndZones`

  Returns the `NXOpen.Diagramming.SheetBordersAndZonesCollection` belonging to this part

  Signature `SheetBordersAndZones`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.SheetBordersAndZonesCollection`

## Tables

`DiagrammingManager.``Tables`

  Returns the `NXOpen.Diagramming.Tables.TableCollection` belonging to this part

  Signature `Tables`

  New in version NX10.0.0.

  Returns: |
  Return type: | `NXOpen.Diagramming.Tables.TableCollection`

## TitleBlocks

`DiagrammingManager.``TitleBlocks`

  Returns the `NXOpen.Diagramming.TitleBlockCollection` belonging to this part

  Signature `TitleBlocks`

  New in version NX11.0.1.

  Returns: |
  Return type: | `NXOpen.Diagramming.TitleBlockCollection`

# Method Detail

## CreateBulkEditBuilder

`DiagrammingManager.``CreateBulkEditBuilder`

  Creates a `NXOpen.Diagramming.BulkEditBuilder`

  Signature `CreateBulkEditBuilder()`

  Returns: |
  Return type: | `NXOpen.Diagramming.BulkEditBuilder`

  New in version NX10.0.0.

  License requirements: None.

## CreateCannedAnnotationBuilder

`DiagrammingManager.``CreateCannedAnnotationBuilder`

  Creates a `NXOpen.Diagramming.CannedAnnotationBuilder`.

  Signature `CreateCannedAnnotationBuilder(annotation)`

  Parameters: | annotation (`NXOpen.Diagramming.Annotation`) – `NXOpen.Diagramming.Annotation` to be edited, if None then create a new one
  Returns: |
  Return type: | `NXOpen.Diagramming.CannedAnnotationBuilder`

  New in version NX10.0.0.

  License requirements: None.

## OpenSheet

`DiagrammingManager.``OpenSheet`

  Opens a `NXOpen.Diagramming.Sheet`.

  Signature `OpenSheet(sheet)`

  Parameters: | sheet (`NXOpen.Diagramming.Sheet`) –

  New in version NX10.0.0.

  Deprecated since version NX12.0.0: Moved to SheetManager

  License requirements: None.