Jump to content

Alinoz

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Alinoz

  1. Thanks again Michael, I've had an 18 hr day and I'm going cross-eyed.

     

    I'll have a look in the next couple of days.

     

    I definitely want it to rotate around the center of the object too.

     

    It might be a bit too complex for me this early in my Vectorworks journey.

     

    Kind regards,

     

    Al

  2. Thanks so much for the super quick reply Michael!

     

    I did get SetRot3D and Set3DRot mixed up.

     

    You assumed correctly, that I want to be able to rotate the selected object 90º from it's current orientation.

     

    Is it a complex one to write using the Set3DRot?

     

    Are there any simple examples of this, without doing extrusions etc? I got lost on the example at http://developer.vectorworks.net/index.php/VS:SetRot3D

     

    Thanks very much for your time

     

    🙂

     

  3. 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

     

     

     

     

     

     

     

×
×
  • Create New...