RAMotionFrameSource#
- class ansys.rocky.app.motion.ra_motion_frame_source.RAMotionFrameSource(id: str, model_id: str | None = None)#
Bases:
ansys.rocky.app.motion.ra_base_motion.RABaseMotionFrameRocky 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
RAMotionFrameSourcefrom aRAStudyvia:motion_frame_source = study.GetMotionFrameSource()
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:
motion_frame_1 = motion_frame_source.NewFrame() motion_frame_2 = motion_frame.GetMotionFrame('My Frame') for motion_frame in motion_frame.IterMotionFrames(): motion_frame.SetRelativePosition([1.0, 2.0, 3.0], 'm')
Overview#
Import detail#
from ansys.rocky.app.motion.ra_motion_frame_source import RAMotionFrameSource
Method detail#
- classmethod RAMotionFrameSource.GetWrappedClass()#
- classmethod RAMotionFrameSource.GetClassName()#