Загрузка данных
=== sfm.Move ===
Move the currently selected dag nodes, ='Amount to move along X', ='Amount to move along Y', ='Amount to move along Z', relative='Move the nodes relative to their current position', offsetMode='Apply the move as an offset over the time selection instead of an absolute value', space='Space in which the move is to occur', refObject='Dag node to be used for reference space mode'
=== sfm.Rotate ===
Rotate the currently selected dag nodes, ='Amount to move rotate around X', ='Amount to move rotate around Y', ='Amount to move rotate around Z', relative='Move the nodes relative to their current position', offsetMode='Apply the move as an offset over the time selection instead of an absolute value', space='Space in which the move is to occur', refObject='Dag node to be used for reference space mode'
=== sfm.SetOperationMode ===
Set the current channel operation mode
=== sfm.SelectDag ===
Add a dag node to the selection
=== sfm.FindDag ===
Find the dag within the current or specified animation set with the specified name
=== sfm.FirstSelectedDag ===
Get the first dag node in the current selection.
=== sfm.SetCurrentFrame ===
Set the current time for script operation to the specified frame relative to the start of the shot, ='Frame number'
=== sfm.GetCurrentFrame ===
Return the shot relative frame number corresponding to the current time
=== sfm.GetPosition ===
Get dag node position, space='Space in which the move is to occur', refObject='Dag node to be used for reference space mode'
=== sfm.GetRotation ===
Get dag node position, space='Space in which the move is to occur', refObject='Dag node to be used for reference space mode'
=== sfm.CreateModel ===
Create a CDmeGameModel referencing the specified mdl
=== sfm.CreateAnimationSet ===
Create an animation set for the specified element, target='Element for which animation set is to be created'
=== sfm.GetCurrentAnimationSet ===
Get the currently active selected animation set.
=== sfm.UsingAnimationSet ===
Specify an animation set to be assumed for commands in which an animation set is not explicitly specified.
=== sfm.GenerateSamples ===
Resample the position and orientation of the selected dag nodes and store in the logs for each node, parent='Generate samples using the specified node as the parent', pos='Generate position values', rot='Generate rotation values', world='Generate samples in world space, ignoring the any parent'
=== sfm.SetDefault ===
Set the default position and orientation of the currently selected nodes, pos='Flag indicating if the position default should be set', rot='Flag indicating if the rotation default should be set'
=== sfm.Select ===
Select one or more dag nodes, r='Remove the dag from the selection', tgl='Toggle selection, remove if in selection, add if not in selection', error='Error if the specified selection does not exist'
=== sfm.ClearSelection ===
Clear the current selection, removing all currently selected dag nodes
=== sfm.PrintDagOperators ===
Print an ordered list of operators for the selected dag node, local='local only'
=== sfm.GetCurrentShot ===
Get the currently selected shot.
=== sfmUtils.CreateModelAnimationSet ===
Create a model and animation set for that model and add the model to the scene
=== sfmUtils.GetChannelsClipForAnimSet ===
Get the channel track group for the sepecified animation set
=== sfmUtils.FindFirstDag ===
Search for a dag node matching one of the names in the specified list, resturn when the
first one is found. If required is true raise an error exception if no dag node is found
=== sfmUtils.GetDagFromNameOrObject ===
Find the dag with the specified name or simply return the target if it is a dag object
=== sfmUtils.CreateControlAndChannel ===
None
current frame: 0
current animset: DMX Element "soldier1" (DmeAnimationSet) - DmElementHandle_t: 742 FileId: 0 Address: 0x674436984
position: [55.14091110229492, 4.412519454956055, 17.487380981445312]
rotation: [-39.30811309814453, -0.34688347578048706, 97.90287780761719]