Jump to content

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?

Link to comment
  • 3 months later...

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

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.

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