Delete ALL “drawing scales”,
I couldn’t figure out if there is a way to delete all “drawing scales” (attached) in one go. The delete should include all scales even those which are used in the drawing. One drawing scale is required to be kept which is 1:1.
Is that possible
Thank you
Best
Jamal
Solved! Go to Solution.
Solved by hmsilva. Go to Solution.
Solved by hmsilva. Go to Solution.
Solved by conormccartney3897. Go to Solution.
JamaL, you would have to go through all the elements, then assign 1:1, then delete scales from each element. Probably could be done, (im not sure how) but probably not what you want to do, as any annotative objects would revert to the 1:1, and look funny with the rest of the drawing.
Thanks BeekeeCZ.
The link is useful but couldn’t find out which lisp can delete all “annotative scale” even the used ones
Thank you BeekeeCZ.
My issue here is that I need to delete ALL the “annotation scales” EVEN the used ones. Purge will delete only the unused “annotation scales”.
Is deleting ALL the “annotation scales” EVEN the used ones still possible?
OK, try this, I added one function called PURGESCALESALL.
But all the credit belongs to Gile.
Thank you BeekeeCZ for the prompt help,
The “PurgescalesAll” deletes the “annotation scales” and the OBJECTS! This is dangerous. What I meant is to have a lisp that deletes all the “annotation scales” but without deleting objects from the drawing.
I have no such as experience. On my sample drawing it definitely not erase any objects! Otherwise I would not post that.
But maybe I am missing something and it cause some other problems... just leave it.
@JamaL9722060 wrote:
The “PurgescalesAll” deletes the “annotation scales” and the OBJECTS! This is dangerous. What I meant is to have a lisp that deletes all the “annotation scales” but without deleting objects from the drawing.
Hi Jamal,
the Giles's 'PurgeScales.lsp' posted by BeekeeCZ, should not delete objects...but if an object have only one annotative scale set to this object, and you run the 'PurgeScalesAll' this object will not be visible (possibly with 1: 1 scale, will be so small that you can't see it)...
Try this new version of Gile's 'PurgeScales.lsp' where no longer exists the 'PurgeScalesAll' function.
If you run 'PurgeScales', only '1:1' and scales in use will not be deleted...
Hope this helps,
Henrique
Thank you Henrique for the input.
The lisp file of BeekeeCZ does exactly what I’m looking for except the fact that it does delete the Objects that are associated to the deleted annotation scales. By the way, after applying the lisp command the file needs to be closed and open to see that objects are deleted!
Please, have a look on the attached images. All what I wanted to do is to delete all the annotation scales regardless whether they are used or not.
The dwg file is attached in the next post.
the file below is attached
AnnotativeScale_03.dwg
Thanks BeekeeCZ.
I’m still getting the same results. The objects associated to the deleted annotation scales get deleted (attached)
What might be the issue?
Could you please re-send me the lisp file? May you please change its name to “DeleteAllAnnotationScales”
Using PURGESCALESALL on Jamal's dwg got the same poor results as Jamal.
In dwg I previously posted, I was cheating little bit. Since Jamal use all annotations annotative I turned the annotative off using Properties Palette, then run PURGESCALES, then turned the annotative back on. Its 30 sec job. Is this the way it might work, Jamal? Definitely it's a cleaner way than using PURGESCALEALL.
@JamaL9722060 wrote:
...
May you please change its name to “DeleteAllAnnotationScales”
Hi Jamal,
the attached quickly-written code, uses BeekeeCZ's workaround, and all main functions are from Gilles Chanteau...
Hope this helps,
Henrique
Thank you Henrique and BeekeeCZ for the distinct effort. It works like a charm
Best
Jamal