I have some drawings that were converted a few revs back from Microstation.
All of the drawings entities have a linetype of DGN Style <x>.
I'd like to convert to using standard linetypes - centerline, phantom, hidden, etc...
I can use quick select and filter by property to select items and chance them that way, but quick select doesn't work past the block container. i.e. I can't select items internal to the block without being in the block editor for that specific block.
Does anybody have a LISP or know of a way to globally substitute linetype in a similar fashion as the way you can change text styles or similar to that? i.e. All text is style Standard. Standard references a font romans.shx. If i change standard to reference arial.shx, all text that is of style Standard is instantly changed.
I'm picturing a dialog box that accesses the list of linetypes available in the drawingeffectively replaces the linetype definition say take all entities with a linetype of x and change them all to linetype y. I've looked through the forums, but only seem to find the more general use of quick select or something similar.
Thanks in advance for your help!
Solved! Go to Solution.
Yes, I've looked through that dialog box, but don't see how that helps - as far as I know, your only option is to load / unload / remove linetypes in general. I don't see any way to affect the properties of the entities in the drawing en masse.
If all the blocks are on one layer, and have their internal linetype settings to by layer, you can just change the linetype for that layer.
Other than that I think you may be out of luck.
Thank you all for your replies.
I hadn't noticed before that the rename command could do more than blocks. Good option if starting from scratch with a converted drawing, but needs more thought when there are existing entities of the linetype you want to convert to. The rename routine reports an error due to the pre-existing linetype.
I haven't tried the vlx script, but I'm guessing that is something like what I was planning on originally.
While waiting for replies, I sort of answered my own question. I was able to use the "CAD Standards" feature to audit linetypes. If the correct linetypes are all set up and saved in a standards file then used for comparison, the audit routine will find the offending linetypes and reassign them per the users direction. So far, this seems to be the best solution.
Thank you all for your time.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.