Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delete ALL “drawing scales”,

51 REPLIES 51
SOLVED
Reply
Message 1 of 52
JamaL9722060
10272 Views, 51 Replies

Delete ALL “drawing scales”,

 

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

---------------------------
Jamal Numan
51 REPLIES 51
Message 41 of 52
hmsilva
in reply to: JamaL9722060


@JamaL9722060 wrote:

Thank you Henrique and BeekeeCZ for the distinct effort. It works like a charm

Best

Jamal


You're welcome, Jamal.
Glad I could help, but all credits belong to BeekeeCZ and Gilles Chanteau.

Henrique

EESignature

Message 42 of 52
JamaL9722060
in reply to: hmsilva

 

Hi Henrique,

 

Sorry to bother you again with this issue.

 

Recently (CAD 2016), the .lsp file that does delete ALL annotation scales in one go appears not to work properly. Sometime, it fails to delete All the annotation scale in one go.

 

The .lsp file is attached

 

What might be wrong with it?

 

Clip_144.jpg

---------------------------
Jamal Numan
Message 43 of 52
hmsilva
in reply to: JamaL9722060


@JamaL9722060 wrote:

 

Hi Henrique,

 

Sorry to bother you again with this issue.

 

Recently (CAD 2016), the .lsp file that does delete ALL annotation scales in one go appears not to work properly. Sometime, it fails to delete All the annotation scale in one go.

 

The .lsp file is attached

 

What might be wrong with it?

 


Hello Jamal,

could you please attach your test dwg?

 

I don't have AC2016 in this laptop, only 2015, but I think there is no difference in annotation scales from 2015 to 2016...

 

Henrique

EESignature

Message 44 of 52
JamaL9722060
in reply to: hmsilva

Please, find attached the dwg file

 

Clip_145.jpg

 

---------------------------
Jamal Numan
Message 45 of 52
hmsilva
in reply to: JamaL9722060

Hi Jamal,

thank you for the dwg!

I was able to reproduce that behavior.

I have a deadline to meet today, but tomorrow I'll see what I can do.

 

Henrique

 

EESignature

Message 46 of 52
hmsilva
in reply to: JamaL9722060

Hi Jamal,

as I had previously said, the problem was not related with the AutoCAD version...

 

The code was based on a selection of annotative objects, and in your dwg there none of the objects was annotative...

Try this revided version.

 

Hope this helps,
Henrique

EESignature

Message 47 of 52
JamaL9722060
in reply to: hmsilva

 

Thank you Henrique. It works like a charm

 

Best

 

Jama

---------------------------
Jamal Numan
Message 48 of 52
hmsilva
in reply to: JamaL9722060

You're welcome, Jamal
Glad I could help

Henrique

EESignature

Message 49 of 52
JamaL9722060
in reply to: hmsilva

Hi Henrique,

 

It appears that the lps file is again not able to delete some annotation scales. The dwg file is attached

 

What might be the issue here?

 

Clip_258.jpg

---------------------------
Jamal Numan
Message 50 of 52
nimche
in reply to: JamaL9722060

Thanks for all the LSP files and feedback. It does really help.

After using most of the LSP files here and updating the LSP with a newer version provided. I was able to clean one file, but not sure what the sequence is.

Now I am cleaning another file, and the last LSP provided here doesn't clean the scale list. It basically add the 1:1 and I still have 4 to 5 more scale floating around on the list.

Using Architectural Desktop 2017

 

Thanks in advance.

Message 51 of 52
AutoBIx
in reply to: nimche

I've tried all the lisp and it seems to have a problem with dimensions
If i have a scale set to a dimension and i run the LSP the dimension is forced to 1:1
The multileader keep the scale on but seems the dimension are updated ....
is it possible?

Message 52 of 52
JamaL9722060
in reply to: AutoBIx

We need to wait Henrique to comment on this as her is the creator of the lisp file

---------------------------
Jamal Numan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost