Hi all,
I'm a newbie to Vectorworks and Vectorscript, just started using it 5 days ago & I'm hooked.
I'm trying to add a simple option with a script and then assign a keyboard shortcut to rotate the selected object 90 degrees around an axis.
I know how to add the script to a menu and assign a keyboard shortcut.
I used one of the scripts from here called Move to Origin, and it works a treat.
What I need help with is getting the script correct.
This is what I have and it does not work.
I'm trying to rotate the selected object 90 degrees around the X axis.
PROCEDURE Rotate90onX;
VAR hnd : HANDLE;
BEGIN
SetRot3D(hnd,90,0,0,0,0,0);
END;
RUN(Rotate90onX);
Any help or advice would be much appreciated.
Thanks
Al