Skip to main content

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 the RAMotionFrameSource from a RAStudy via:
This is the element through which motion frames with no parent frames can be created, and through which all motion frames can be directly accessed:
Methods:

GetMotionFrame(frame_name)

Get a specific motion frame given its name.

GetParentMotionFrame()

Gets the parent motion frame. If the Motion Frame is a RAMotionFrameSource it returns None.

IterMotionFrames()

Iterates over all the motion frames available (recursively).
  • Return iter(RAMotionFrame):

NewConeCrusherFrame()

Creates a new cone crusher frame.

NewFrame()

Creates a new motion frame.

RemoveFrame(motion_frame)

Removes a previously-created motion frame.