Schematic

Object Hierarchy

Inheritance

SIObject

UIObject

UIPersistable

View

Schematic

Introduced

v10.0 (2012)

Categories

UI

Description

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

Methods

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

Properties

Application Categories Floating FullName operator
Help MemoCameras Name operator NestedObjects
Nodes Origin OriginPath Parent
Rectangle SelectedNodes State Type operator
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 = sidesk.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