JMSarch Posted August 7, 2012 Share Posted August 7, 2012 Hi All, New here and was hoping someone might have a script handy for the 'show other objects while in groups' option in VW Preferences. I found one here for the line weights toggle that has been great to work with so I am hoping I can get one to toggle this feature as well without having to go into the Preferences dialogue every time. Sadly my office is still using 2008, if that makes a difference. Thanks in advance for any help Quote Link to comment
VectorGeek Posted August 7, 2012 Share Posted August 7, 2012 Try: SetPref(14,NOT(GetPref(14))); V-G. Quote Link to comment
JMSarch Posted August 7, 2012 Author Share Posted August 7, 2012 Thanks, that works great....but is there a way to add it to the pull down menu so i can add a key command? Quote Link to comment
MullinRJ Posted August 7, 2012 Share Posted August 7, 2012 Yes, create a menu command plug-in with that line as the script. Follow Robert Anderson's post in the VectorScript Share section of this BBoard to find out how: http://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=93218#Post93218 Raymond Quote Link to comment
VectorGeek Posted August 7, 2012 Share Posted August 7, 2012 (edited) Read the section on plug-in menu commands here: http://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=93218 Hope that helps. V-G. Ray beat me by 2 minutes... :-) Edited August 7, 2012 by VectorGeek Quote Link to comment
JMSarch Posted August 8, 2012 Author Share Posted August 8, 2012 got it thanks guys. I think it's time to start learning the basics for writing vector scripts JMS Quote Link to comment
JMSarch Posted August 15, 2012 Author Share Posted August 15, 2012 Hello again I am wondering if someone can help me modify this script (or create a new one) that would give me the option to select the class I want to change to instead of changing to a specified class. Procedure CustTool; VAR Name:STRING; Result:BOOLEAN; BEGIN NameClass('A_Notes'); END; Run(CustTool); This was created with the 'Custom tool/attribute' drop down but what I would really like to be able to do is have a command that would create a pick box (or eyedropper?) that I could select the class to match and then apply it to another object, instead of creating a bunch of these commands separately. Can anyone help? Thanks a bunch! JMS Quote Link to comment
Vectorworks, Inc Employee Matt Panzer Posted August 16, 2012 Vectorworks, Inc Employee Share Posted August 16, 2012 Have you tried using the eyedropper tool? You can set it's prefs to only transfer object's classes. Quote Link to comment
JMSarch Posted August 16, 2012 Author Share Posted August 16, 2012 Hi Matt, I have but I was was hoping to find a quicker (easier way) in lieu of having to open up the eyedropper prefs and change them each time i want to only match the class attributes. Quote Link to comment
amogle Posted August 16, 2012 Share Posted August 16, 2012 Not the most elegant solution but you could duplicate the eyedropper tool in your plugins folder and then put the second in a different location in your tool bar. Then you can have one with only classes. 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.