Alexandre Villares Posted January 31, 2002 Share Posted January 31, 2002 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? Quote Link to comment
Fuge Posted January 31, 2002 Share Posted January 31, 2002 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. Fuge Quote Link to comment
Alexandre Villares Posted February 4, 2002 Author Share Posted February 4, 2002 How very frustrating Here are the icons I've made:layer options pallete mockup Quote Link to comment
David J. Clinton Posted May 7, 2002 Share Posted May 7, 2002 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. Quote Link to comment
Recommended Posts
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.