TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Andrea on May 20, 2015, 02:34:21 PM

Title: can't purge
Post by: Andrea on May 20, 2015, 02:34:21 PM
Hi all,..

I'm stuck with a drawing who it can't be purged.
drawing contain nothing....but 1.270MB with a bunch of layers...

any one can help me to understand what its going wrong with this file ?

Thank you.
Title: Re: can't purge
Post by: kruuger on May 20, 2015, 03:05:19 PM
Hi all,..

I'm stuck with a drawing who it can't be purged.
drawing contain nothing....but 1.270MB with a bunch of layers...

any one can help me to understand what its going wrong with this file ?

Thank you.
CTRL+A lot of proxy stuff
k.
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 03:15:37 PM
Thank you...I know ...but it seem that they can't be deleted..
Title: Re: can't purge
Post by: kruuger on May 20, 2015, 03:22:16 PM
Thank you...I know ...but it seem that they can't be deleted..
Code: [Select]
(command "-exporttoautocad" "f" "2000" "s" "_repaired" "" "")reduce size to 500k, delete few layers, blocks but still proxy crap  :x
Title: Re: can't purge
Post by: kruuger on May 20, 2015, 03:25:32 PM
zombie killer reduce to 150k but cant kill that bastards. never seen this before  :oops:
https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3azombiekiller_windows32and64%3aen&autostart=true (https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3azombiekiller_windows32and64%3aen&autostart=true)
k.
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 03:33:45 PM
thank you....I've tried many LISP and ARX routine created and/or found over the net...but nothing to fix this stupid drawing...
the fact is,...that I'm trying to understand how the proxy is linked to the Layer,...or if it is related.

I've also tried LAYDEL,...seem to work, but PROXY stay alive.
If I use ALT+D to the Layer panel,...It do not delete layer.
Title: Re: can't purge
Post by: kruuger on May 20, 2015, 03:42:48 PM
thank you....I've tried many LISP and ARX routine created and/or found over the net...but nothing to fix this stupid drawing...
the fact is,...that I'm trying to understand how the proxy is linked to the Layer,...or if it is related.

I've also tried LAYDEL,...seem to work, but PROXY stay alive.
If I use ALT+D to the Layer panel,...It do not delete layer.
yep, really tough opponent...
Title: Re: can't purge
Post by: bilançikur on May 20, 2015, 03:57:45 PM
there seem to be a lot of blocks in the dwg wich are also not purged, maybe they are somehow connected to the proxy entities?
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 04:01:54 PM
the only block who I can't purge is "_OBLIQUE"
my drawing is now reduced to 194ko, but still have 3423 Proxy entity in the drawing..

I've found
Code: [Select]
((-1 . <Entity name: 7ffffba6830>) (0 . "DICTIONARY") (330 . <Entity name: 7ffffba6820>) (5 . "3")
(100 . "AcDbDictionary") (280 . 1) (281 . 1) (3 . "ACAD_GEOGRAPHICDATA")
(360 . <Entity name: 7ffffba6840>) (3 . "ACAD_SORTENTS")
(360 . <Entity name: 7ffffb083f0>))

but can't able to remove this..XDATA.
Title: Re: can't purge
Post by: kruuger on May 20, 2015, 04:07:36 PM
the only block who I can't purge is "_OBLIQUE"
my drawing is now reduced to 194ko, but still have 3423 Proxy entity in the drawing..

I've found
Code: [Select]
((-1 . <Entity name: 7ffffba6830>) (0 . "DICTIONARY") (330 . <Entity name: 7ffffba6820>) (5 . "3")
(100 . "AcDbDictionary") (280 . 1) (281 . 1) (3 . "ACAD_GEOGRAPHICDATA")
(360 . <Entity name: 7ffffba6840>) (3 . "ACAD_SORTENTS")
(360 . <Entity name: 7ffffb083f0>))

but can't able to remove this..XDATA.
but there is no _oblique in this dwg. this block is often used for dim style.
k.
EDIT
aa sorry. it was in original. it was used by STANDARD dim style. need to change to other and than purge without any problem.
k.
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 04:08:49 PM
was finaly able to purge it...by redefine the bloc and delete. :)
but still have PROXY crap.
Title: Re: can't purge
Post by: ronjonp on May 20, 2015, 04:14:16 PM
Save as DXF 12 .. does not make round trip.
Title: Re: can't purge
Post by: kruuger on May 20, 2015, 04:16:16 PM
check this Andrea. turn on your ribbon. what the he...
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 04:18:51 PM
thank you Ron...

the fact is...
the original drawing contain lot of stuff,...who cannot be "DXFed" to prevent loosing some entity propreties.
Lot of these king of drawings here...:|
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 04:22:05 PM
check this Andrea. turn on your ribbon. what the he...

? something supposed to happen ?
Title: Re: can't purge
Post by: kruuger on May 20, 2015, 04:24:38 PM
check this Andrea. turn on your ribbon. what the he...

? something supposed to happen ?
there is geolocation menu. which normally doesnt occur in dwg.
k.
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 04:34:46 PM
yep,...few user use GEOLOCATION stuff here..
http://autocad-architecture-blog.com/how-to/autocad-geographic-location-settings-tutorial/ (http://autocad-architecture-blog.com/how-to/autocad-geographic-location-settings-tutorial/)

Title: Re: can't purge
Post by: Andrea on May 20, 2015, 04:41:37 PM
THAT ONE DID THE TRICK !!

http://www.maestrogroup.com.ua/support/ExplodeProxy.zip (http://www.maestrogroup.com.ua/support/ExplodeProxy.zip)

From Alexander Rivilis. :)
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 04:53:50 PM
Oops !?

maybe Hoora to fast..
its seem that PROXY object cannot be find with..

Code: [Select]
(ssget "_X" '((0 . "*PROXY*")))

but I cannot XREF in a new drawing..:\
Title: Re: can't purge
Post by: Andrea on May 20, 2015, 05:05:05 PM
ok,...there is what I did...

I've copy all drawing from 0,0 to 1000,0
then, erase the first selection..
then move all drawing from 1000,0 to 0,0
then Purge all drawing.

seem to fix the issue.

but still that I do not know why.
Title: Re: can't purge
Post by: Crank on May 22, 2015, 02:05:06 AM
You don't have to move:
- Make sure everything is visible
- ERASE ALL REMOVE CROSSING (select everything)
- PURGE
Title: Re: can't purge
Post by: Andrea on May 25, 2015, 12:37:33 PM
You don't have to move:
- Make sure everything is visible
- ERASE ALL REMOVE CROSSING (select everything)
- PURGE

in the original file...I've lot of entities..
but you'Re right..I've to copy all 0,0 to 0,0 and Erase Previous.
then,..Purge.
Title: Re: can't purge
Post by: Crank on May 26, 2015, 07:05:38 AM
I don't understand why you first have to use the COPY command and than erase previous: Use the original entities.
If the drawing is really big then you can first turn of the HIGHLIGHT.
Title: Re: can't purge
Post by: Patrick_35 on May 26, 2015, 10:42:56 AM
hi

You can try JAV (http://www.blog-cao.com/article/programmation/jav-autocad-purger-dessin-nettoyer-vide/)

@+
Title: Re: can't purge
Post by: 77077 on May 27, 2015, 09:46:12 PM
hi

You can try JAV (http://www.blog-cao.com/article/programmation/jav-autocad-purger-dessin-nettoyer-vide/)

@+


Thanks ,It's Russian ?
Title: Re: can't purge
Post by: kruuger on May 28, 2015, 03:41:35 AM
hi

You can try JAV (http://www.blog-cao.com/article/programmation/jav-autocad-purger-dessin-nettoyer-vide/)

@+


Thanks ,It's Russian ?
c'mon 77077  ;D  you dont know cyrlica ?
it is french
k.