XSIApplication.ActiveSceneRoot

説明

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

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