PDA

View Full Version : Set overridden text height to the default defined in the style



jpcadconsulting347236
2015-06-15, 05:21 PM
Hi again gang,

I have an annotative text style "SW Standard" with a paperspace height of 1/8"

I have some drawing where some text and/or mtext of that style has been overridden to some other height.

I'm looking for a lisp that will select all text and mtext of that style and set the height to the style default of 1/8"

Any help is as always, much appreciated.

BlackBox
2015-06-15, 06:26 PM
Unless I've overlooked something recently, a simple QSELECT + manually change the Style to another, and back again via Properties Pane is going to be a lot faster than to code this yourself, FWIW.

Otherwise, you'll need to account for those entities that are, and those that are not currently annotative, adding the scale(s) to Dictionary as appropriate, as well as actually manipulate text height, etc.

Cheers