## Schematic

Object Hierarchy

### Inheritance

SIObject

UIObject

UIPersistable

View

Schematic

### Introduced

v10.0 (2012)

### Description

Schematic represents the Schematic UI view and gives access to SchematicNode objects.

### Methods

BeginEdit | EndEdit | FindNode | FindView
FindView2 | GetAttributeValue | IsClassOf | IsEqualTo
Move | Rearrange | Refresh | Resize
SetAttributeValue |  |  |

### Properties

Application | Categories | Floating | FullName
Help | MemoCameras | Name | NestedObjects
Nodes | Origin | OriginPath | Parent
Rectangle | SelectedNodes | State | Type
Views | Visible |  |

### Examples

#### Python Example

    #
    # Script to demonstrate how to access a specific Schematic view object. The script creates a new view if it
    # doesn't already exist in the active layout.
    #
    # import some Softimage python shortcuts
    from siutils import *
    # Get the 'MySchematic' schematic view object in the current layout
    viewname = 'MySchematic'
    activelayout = si().Desktop.ActiveLayout
    v = activelayout.FindView( viewname )
    # 'MySchematic' view is not created yet
    if v == None:
            log('Creating new schematic...: %s' % (viewname))
            v = activelayout.CreateView( "Schematic", viewname )
    # Python needs to convert from View to Schematic object
    sv = disp(v)
    # Log information on the view
    log( 'name=%s top level nodes=%d selected nodes=%d' % (sv.Name, sv.Nodes.Count, sv.SelectedNodes.Count) )

### See Also

SchematicNodeCollection