SchematicNode

Object Hierarchy

継承

SIObject

UIObject

SchematicNode

導入

v10.0 (2012)

詳細

SchematicNode は、スケマティック ビューに表示される UI ノードを表します。

メソッド

IsClassOfオペレータ IsEqualToオペレータ Move  
       

プロパティ

Application Categories Expanded FullNameオペレータ
Help Nameオペレータ NestedObjects Nodes
Object Origin OriginPath Parent
Selected Typeオペレータ UIInfo  
       

Python の例

#
# Script to demonstrate how to access a SchematicNode object and to log its information.
#
# 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 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) )

関連項目

Schematic SchematicNodeCollection