class RAMotionFrameSource
Rocky PrePost Scripting wrapper for the root element for Motion Frames This class represents the “Motion Frame” item on the project’s data tree. Get theRAMotionFrameSource
from a RAStudy via:
GetMotionFrame(frame_name)
Get a specific motion frame given its name.- Parameters: frame_name (unicode)
- Return type: RAMotionFrame
GetParentMotionFrame()
Gets the parent motion frame. If the Motion Frame is a RAMotionFrameSource it returns None.- Return type: RAMotionFrame
IterMotionFrames()
Iterates over all the motion frames available (recursively).- Return iter(RAMotionFrame):
NewConeCrusherFrame()
Creates a new cone crusher frame.- Return type: RAConeCrusherFrame
NewFrame()
Creates a new motion frame.RemoveFrame(motion_frame)
Removes a previously-created motion frame.- Parameters: motion_frame (RAMotionFrame or RAConeCrusherFrame)