XSIApplication.ActiveSceneRoot

XSIApplication.ActiveSceneRoot

説明

アクティブなプロジェクトのアクティブなシーンのルート Model を戻します。

C#構文

// get accessor

Model rtn = XSIApplication.ActiveSceneRoot;

VBScript の例

'

' Create a cube and circle, Constraint the cube to the circle

' and animate the cube moving round the circle by keying

' the path percentage

'

set oCube = ActiveSceneRoot.AddGeometry( "Cube", "MeshSurface" )

set oPath = ActiveSceneRoot.AddGeometry( "Circle", "NurbsCurve" )

set oConstraint = oCube.Kinematics.AddConstraint("Path", oPath )

oConstraint.perc.addfcurve2( Array( 0, 0, 100, 100 ) )

PlayForwardsFromStart

関連項目

XSIApplication.ActiveProject2 XSIProject.ActiveScene Scene.Root