Jump to content
  • 0

Shortcut to go back to the None class


FlairStudio

Question

7 answers to this question

Recommended Posts

  • 0

You can set that up as a Saved View which you could access from a Script Palette. If it were possible to access the script that is created by the saved view, then you could probably change that into a custom command which in turn you could add a keyboard shortcut to. 

 

There are other folk here that may be able to help you write a script that will do just....

105525070_Screenshot2021-07-14at15_47_10.png.87f41d3a54c8fc122ad6ebaa04e973b8.png

 

I just remembered you can create a script using the Custom Tool attribute command. That will generate a script that you could edit and turn into a command.

Edited by markdd
  • Like 1
Link to comment
  • 0

It is actually a single line script

 

NameClass('None');

 

Go to Tools:Plug-ins:Plug-in Manager.

 

From the Custom Plug-ins pane click the New... button.

 

image.png.d9cd2d5b6dd7f277befb45bfeafd0442.png

 

Name the plug-in and make it a command.

image.png.8d0b201a559a0d7a0af4e5b76b3047ee.png

 

Click the Edit Script button

 

image.png.ee840315b23265745b6e8f46894cf503.png

 

Type or paste in the single line from above. Make sure to include the semicolon at the end. Click OK.

 

image.png.1c5365cf39c6aae947426e0a7c68c142.png

 

You have now created your own Vectorworks command.

 

Edit your workspace to add the command to a menu and add a keyboard shortcut.

 

Ask again if you need more help.

 

 

  • Like 2
  • Love 2
Link to comment
  • 0

Sti, Stay, Good Dog! is a test I was working on. It has not made it past proof of concept. The idea was to create an object that if you moved it would always return to the original position. Sort of like Sheet Borders can always be centered on the sheet. You can select group of objects and move them and the Good Dog object will snap back to the original location.

 

Parametric Arrow is just what it sounds like. Enter a bunch of parameters to define an arrow. Supposed to be similar to big arrows in something like Powerpoint. Again, it has not made it past proof of concept.

Link to comment
  • 0
On 7/14/2021 at 7:34 PM, Pat Stanford said:

It is actually a single line script

 

NameClass('None');

 

Go to Tools:Plug-ins:Plug-in Manager.

 

From the Custom Plug-ins pane click the New... button.

 

image.png.d9cd2d5b6dd7f277befb45bfeafd0442.png

 

Name the plug-in and make it a command.

image.png.8d0b201a559a0d7a0af4e5b76b3047ee.png

 

Click the Edit Script button

 

image.png.ee840315b23265745b6e8f46894cf503.png

 

Type or paste in the single line from above. Make sure to include the semicolon at the end. Click OK.

 

image.png.1c5365cf39c6aae947426e0a7c68c142.png

 

You have now created your own Vectorworks command.

 

Edit your workspace to add the command to a menu and add a keyboard shortcut.

 

Ask again if you need more help.

 

 

@Pat Stanfordsorry, how can the created scrit be added to a customised workspace please?

Thanks again

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
Answer this question...

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