Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hello,
I am trying to define animations automatically with Lisp-Files. The dialogs to define animations are part of the "Advanced Assembly Module". I'd like to rotate and translate objects or assemblies based on their coordinate systems inside the dialog "anim_create_animations".
Description:
In the attachments is a Lisp-File, which works quite well, but there are a few restrictions. First we define the assembly (B1), object (T1) and coordinate system (CoSy1). Then the dialog "anim_create_animation" is called with "sd-call-cmds" and an animation is created. After that, the object is translated in the direction of the global x-axis (1,0,0) and the position is captured with ":dyn_pos_capture". Afterwards, the object is rotated around an axis defined by "direction3d" and "position3d". Again a global direction is used, z-axis (0,0,1) and the position (0,0,0). After the rotation, a picture is taken and the animation is finished.
Now to the problems:
My research: