Kevin Posted October 14, 2005 Share Posted October 14, 2005 I often rotate objects 45 degrees. What I need is a script that will rotate 45 degrees so that I can assign that to a keyboard shortcut. Does anyone know how to write such a script? I am sure it is a simple one. Quote Link to comment
MullinRJ Posted October 15, 2005 Share Posted October 15, 2005 Hi Kevin, You're right, it is simple. It's a 1 line script: Rotate(45); This will always rotate all selected objects CCW around their collective center. You can have another script to rotate CW: Rotate(-45); If you want to make menu commands instead of scripts, check the VW User's Guide or search this board for instructions on creating a menu command, or ".vsm" object. You can also search the VectorScript List at: http://lists.nemetschek.net/archives/vectorscript-l.html Raymond Quote Link to comment
Kevin Posted October 15, 2005 Author Share Posted October 15, 2005 Thank you, it worked. I don't know how, but I duplicated the structure of a sample script shown in the Manual, and used your script. One day perhaps I will figure out how all of this Vectorscript works. I really admire you guys who know how to do this. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.