## SchematicNode

Object Hierarchy

### Inheritance

###

SIObject

UIObject

SchematicNode

### Introduced

v10.0 (2012)

### Description

SchematicNode represents a UI node as displayed in a Schematic view.

### Methods

IsClassOf | IsEqualTo | Move |

### Properties

Application | Categories | Expanded | FullName
Help | Name | NestedObjects | Nodes
Object | Origin | OriginPath | Parent
Selected | Type | UIInfo |

### Examples

#### Python Example

    #

    # Script to demonstrate how to access a SchematicNode object and to log its information.

    #

    # import some Softimage python shortcuts

    from sipyutils import *

    # Get the 'MySchematic' schematic view object in the current layout

    viewname = 'MySchematic'

    activelayout = si().Desktop.ActiveLayout

    v = activelayout.FindView2( viewname )

    # 'MySchematic' view is not created yet

    if v == None:

    	log('Creating new schematic...: %s' % (viewname))

    	v = activelayout.CreateView2( "Schematic", viewname )

    # Python needs to convert from View to Schematic object

    sv = disp(v)

    # Log the top level nodes

    for node in sv.Nodes:

    	(x,y,w,h) = node.UIInfo

    	log( 'name=%s x=%d y=%d w=%d h=%d parent=%s object=%s selected=%d expanded=%d' % (node.Name,x,y,w,h,node.Parent,node.Object,node.Selected,node.Expanded) )

### See Also

Schematic SchematicNodeCollection