Jump to content
Developer Wiki and Function Reference Links ×

Snapping pallete toolbar


Recommended Posts

Is it possible to create a toolbar like the Snapping palette with the SDK?

We would like to create a dockable toolbar with multiple custom icon buttons for our external renderer plug-in.

We're currently using the ToolExtension functionality but that's not really the intended use and on top of that we also came upon an issue where Vectorworks eats up the first click event when it doesn't have focus but still displays the button animations for ToolExtensions. 

 

 

Link to comment

Not really. The closest you can get is a custom tool that displays various buttons in the mode bar. You are limited to six though.

 

You can set up tools to take action on the DoSetup event, which will run when you select the tool, but there is no way not to steal focus from the existing tool. Your best option is going to be menu commands.

Link to comment

I was going to quote your comment to reply that I'm getting the same behaviour on windows. on an unfocussed VW the buttons will highlight on roll over, but the first click is only focus one (not actually clicking the button) I don't know if it's an OS thing, but the Adobe products focus AND click in one.

 

On the quoting side of things, I couldn't highlight your post as it said "protected by grammarly". Can someone else try to highlight and quote @Julian Hangstörfer above and see if you get the same behaviour?

Link to comment
On 7/30/2019 at 5:37 PM, Julian Hangstörfer said:

Is it possible to create a toolbar like the Snapping palette with the SDK?

We would like to create a dockable toolbar with multiple custom icon buttons for our external renderer plug-in.

We're currently using the ToolExtension functionality but that's not really the intended use and on top of that we also came upon an issue where Vectorworks eats up the first click event when it doesn't have focus but still displays the button animations for ToolExtensions. 

 

 

 @RussU Do you mean quoting like that? I have no problem (Safari on Mac)

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