Jump to content
Developer Wiki and Function Reference Links ×

"orient" command equivalent for Vectorworks


Recommended Posts

Hi I was wondering if someone would know / have experience with scripting an equivalent to Rhino's "orient" command.

 

It is basically doning a move + rotation translation in one command instead of 2. Very useful and essential for my workflow in modeling. Unfortunately I don't see that something similar exists yet for VW. It should work both for 2d as well as 3d, but in VW I'd only need it for 2d.

 

To understand very straightforward how this works: ...

orientcommand.thumb.gif.24c69dab4f0441f8a9d948f367ae03f9.gif

 

Hopefully someone is up for the challenge? 🤞😉

Link to comment

Hi, thank you for the effort.

What you are saying sounds very promising, but I cannot use the script (Vectorworks 2024). There is no .vst format suggested when I try to run a script. If I still run it I get an instant error.

What should I do to make this work? 

Link to comment
2 hours ago, kliefhead said:

What should I do to make this work? 

 

Hello @kliefhead,

Short answer: Add it to your workspace. If you are not familiar with adding a plug-in to VW, a longer answer follows.

 

The file I added is not a script, but a Plug-in Tool. It has a short script inside it. You will have to add the .vst file to your Plug-ins folder in the VW 2024 User Folder to make it useful.

 

To find the User Folder on your drive, open the VW Preferences dialog and select "User Folders" in the left pane. In the right pane there is a "Reveal in Finder" button. Press it and the VW User folder/directory will open on your computer. Open the folder that says 2024 (which should be selected) and copy the Orient.vst file into the Plug-ins subfolder. Then close VW and launch it again. VW will now recognize the newly added Orient tool.

 

When VW is open again, open the Workspace Editor (Cmd+Opt+Shift+W, on the Mac; Ctrl+Alt+Shift+W on the PC; or VW menu Tools->Workspaces->Edit Current Workspace...) Select the Tools tab at the top of the window and expand the >Tools category in the left pane by clicking on the arrow to the left of "Tools". Find the Orient tool, and drag it to one of your tool pallets in the right pane, or create a new Tool Palette and add it to that. The tool is now accessible to VW in the palette you chose when you are drawing (it will have a default wrench icon, and will show "Orient Tool" when you hover the cursor over it.) Before you close the Workspace Editor, you can assign a HotKey (keyboard shortcut) to the new tool for faster access. This last step is optional. For more information on using the Workspace Editor, open VW Help (F1) and search for "workspace edit". Click on the "Customizing workspaces" link that pops up.

 

HTH,

Raymond

  • Like 1
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...