David Jacobs Posted February 8, 2012 Share Posted February 8, 2012 We have a number of drawings (possible hundreds) all are using same basic set-up for classes, layers. Is there a way to simplify changing these class attributes without opening each and every file and doing this over and over again? Quote Link to comment
michaelk Posted February 8, 2012 Share Posted February 8, 2012 You can import the classes into each document. You still have to open each document but you don't need to manually make the changes. Tools > Organization > Classes Tab > New > Import Classes (UNcheck "Show only classes that are not in the current document" > Select the classes.... I bet there's a way to script it. You might try asking this question in the VS forum. MK Quote Link to comment
Dieter @ DWorks Posted February 8, 2012 Share Posted February 8, 2012 You can import the classes into each document. You still have to open each document but you don't need to manually make the changes. Tools > Organization > Classes Tab > New > Import Classes (UNcheck "Show only classes that are not in the current document" > Select the classes.... I bet there's a way to script it. You might try asking this question in the VS forum. MK DANGER! Be aware that by using import classes that already exist to override the attributes, you loose all your visibilities in all viewports! I once needed this and it works really great for having more than one custom look, but the one and only downside to it is losing the visibilities in viewports, which makes it unusable. So I had to go with another way which works for us. Quote Link to comment
Dieter @ DWorks Posted February 8, 2012 Share Posted February 8, 2012 We have a number of drawings (possible hundreds) all are using same basic set-up for classes, layers. Is there a way to simplify changing these class attributes without opening each and every file and doing this over and over again? I have made a script that looks at the attributes off classes and change them according to some criterea. Can you tell us what and how you want to change them? Maybe you can use this script too. Then I'll post it on this forum. Quote Link to comment
SamStoltze Posted February 8, 2012 Share Posted February 8, 2012 I could use the script as well if you'd be so kind! The changes I need to make for numerous classes of numerous files are class line weights, fill color, and pen color. Many Thanks. Quote Link to comment
SamStoltze Posted February 8, 2012 Share Posted February 8, 2012 Also is it within the ability of a script to export 100's of files to pdf or is a simply limited to files that are open? Thanks. Quote Link to comment
Dieter @ DWorks Posted February 8, 2012 Share Posted February 8, 2012 The script can only be used per document. But maybe someone with sdk knowledge can help transform it so that it can be done on multiple files? Also it uses a text file where I put all color transformations in. So you will need to know which color will be transformed to which. I use this command for switching our office style from standard to sober and back. So we use certain colors for the standard and other for the sober one. Can you think about how you want to change the attributes in more detail? Maybe I can change the script to something more your needs. I will clean the script and post it. Quote Link to comment
Pat Stanford Posted February 10, 2012 Share Posted February 10, 2012 If you are running VW on a Mac, you can probably write an Applescript to step through the files and run the script on each one. If you are on a PC I don't know of a way to do it. 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.