Schematic

Object Hierarchy

継承

SIObject

UIObject

UIPersistable

View

Schematic

導入

v10.0 (2012)

カテゴリ

UI

詳細

Schematic は、Schematic UI ビューを表し、SchematicNode オブジェクトにアクセスします。

メソッド

BeginEdit EndEdit FindNode FindView
GetAttributeValue IsClassOfオペレータ IsEqualToオペレータ Move
Rearrange Refresh Resize SetAttributeValue

プロパティ

Application Categories Floating FullNameオペレータ
Help MemoCameras Nameオペレータ NestedObjects
Nodes Origin OriginPath Parent
Rectangle SelectedNodes State Typeオペレータ
Views Visible    
       

Python の例

#
# 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) )

関連項目

SchematicNodeCollection