Jump to content
Sign in to follow this  
Alexandre Villares

layer options palette (or how to make a tool that isn't )

Recommended Posts

If I get it right, VectorWorks plug-in architecture is so that if you make a script that doesn't need user interaction you should call it "a command" and put it in a menu.

Real "tools" as well as PIOs need some clicking and shall be put on palettes...

Now, I wish I could put some layer options switching commands on a palette (I have even designed some very nifty icons representing "gray others", "show/snap others" and all that stuff).

Is there something I can do? a way to make a tool be clicked and go away?

Share this post

Link to post

There is no way to trigger a script simplyby clicking on a tool icon.

Your only choice is to put the scripton a script palette or create a customsheets command.


Share this post

Link to post

I have created layer control tools and placed them in a palette. The script must include a mouse action such as getpt or getline after activating the tool. the tools that I have created thus far are ActiveLayerVisible, ActiveLayerInvisible, and NewLayer. The first two tools are very handy when scrolling through a stack of 50 or so layers to set visibility. cool.gif" border="0

Share this post

Link to post

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.

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.

Sign in to follow this  


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

  • Create New...