RABaseMotionFrame#
- class ansys.rocky.app.motion.ra_base_motion.RABaseMotionFrame(id: str, model_id: str | None = None)#
Bases:
ansys.rocky.app.api_element_item.ApiElementItemBase class for Api representations of MotionFrames and MotionFrameSources. Provides methods to create, iterate and remove motion frames.
Overview#
Creates a new motion frame. |
|
Creates a new cone crusher frame. |
|
Iterates over all the motion frames available (recursively). |
|
Get a specific motion frame given its name. |
|
Removes a previously-created motion frame. |
|
Gets the parent motion frame. |
Import detail#
from ansys.rocky.app.motion.ra_base_motion import RABaseMotionFrame
Method detail#
- RABaseMotionFrame.NewFrame() ansys.rocky.app.motion.ra_motion_frame.RAMotionFrame#
Creates a new motion frame.
- RABaseMotionFrame.NewConeCrusherFrame()#
Creates a new cone crusher frame.
- Return type:
- RABaseMotionFrame.IterMotionFrames() collections.abc.Generator[_typeshed.Incomplete]#
Iterates over all the motion frames available (recursively).
- Return iter(RAMotionFrame):
- RABaseMotionFrame.GetMotionFrame(frame_name)#
Get a specific motion frame given its name.
- Parameters:
frame_name (unicode)
- Return type:
- RABaseMotionFrame.RemoveFrame(motion_frame) None#
Removes a previously-created motion frame.
- Parameters:
motion_frame (RAMotionFrame or RAConeCrusherFrame)
- RABaseMotionFrame.GetParentMotionFrame()#
Gets the parent motion frame. If the Motion Frame is a RAMotionFrameSource it returns None.
- Return type: