Dexie Posted November 6, 2015 Share Posted November 6, 2015 I have imported a whole load of symbols from AutoCAD within which all objects are of a class but are not displayed with class defaults e.g. The class for down pipes is blue line and 0.05mm but displays as 6mm. Is there is a script that will convert all these objects as the class default of 0.5mm and blue or do I have to manually go into every symbol and change everything to Make All Objects By Class. Quote Link to comment
zoomer Posted November 6, 2015 Share Posted November 6, 2015 I'm interested too. The only solution I found was to convert all Symbols to group + ungroup. Not very intelligent but problems with Symbols were too much. Next problem is that sometimes instances of Symbols com in as separate Symbols named with *1, *2; *3, .... Quote Link to comment
Pat Stanford Posted November 6, 2015 Share Posted November 6, 2015 I just posted something that might be useful over in the Vectorscript Resource Share forum. https://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=218982Post218982 That script will change all of the objects in the symbol definition of a selected symbol to ByClass. HTH. Quote Link to comment
Art V Posted November 7, 2015 Share Posted November 7, 2015 I have imported a whole load of symbols from AutoCAD within which all objects are of a class but are not displayed with class defaults e.g. The class for down pipes is blue line and 0.05mm but displays as 6mm. Is there is a script that will convert all these objects as the class default of 0.5mm and blue or do I have to manually go into every symbol and change everything to Make All Objects By Class. Imported AutoCAD symbols will only show with class defaults if the symbol items are complying to the two requirements below when created in AutoCAD: 1. created on layer 0 2. properties (i.e. colour, linetype etc) are set to "bylayer" In all other cases the imported symbol will be have a "fixed" colour, linetype, lineweight, layer (class) in its symbol definition. Pat's script may fix this for you, but you have to make sure that you want the symbol properties to be by class. Setting the colour, linetype etc. to be fixed in AutoCAD might have been unintentional or intentional. In the latter case, upon re-exporting to dwg files your symbols will not be as designed and may not appear correctly when inserted back into the original AutoCAD drawing. Quote Link to comment
zoomer Posted November 8, 2015 Share Posted November 8, 2015 Thanks for the script ! but you have to make sure that you want the symbol properties to be by class. Setting the colour, linetype etc. to be fixed in AutoCAD might have been unintentional or intentional. That's a good point. Some large firm CAD Standards here do not allow to set attributes by class. Assigning by object is mandatory. In my case it was just a mix out of both options Quote Link to comment
Dexie Posted November 9, 2015 Author Share Posted November 9, 2015 Thanks Pat I will give it a go, hopefully it will work with these symbols. Thank you for taking the time to help with this and many of the other queries I have posted over the years. 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.