TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Peter2 on July 29, 2013, 05:05:07 PM

Title: Purging Shapes in Acad 2011
Post by: Peter2 on July 29, 2013, 05:05:07 PM
Hi

I tried
Code: [Select]
(command "_purge" "_SH" "*" "_n")in my AutoCAD German (both from commandline and from LISP) and get the message that
Code: [Select]
No visual styles are found.
When I type the same code in the commandline
Code: [Select]
Command: _purge
_SH
*
_N
then I get the message that
Code: [Select]
No Shapes are found.
Can you confirm it? Maybe it is a problem of my German version?

Thanks

Peter
Title: Re: Purging Shapes in Acad 2011
Post by: owenwengerd on July 29, 2013, 07:59:35 PM
In AutoCAD 2011 US English I get in both cases the same message:
Quote
No unreferenced visual styles found.
Title: Re: Purging Shapes in Acad 2011
Post by: Marc'Antonio Alessi on July 30, 2013, 03:46:12 AM
2013 Italian version (same message):

Comando: (command "_purge" "_SH" "*" "_n")
Nessuna presenza di file di forma senza riferimento.
nil

Comando: _-PURGE
Immettere il tipo di oggetti non utilizzati da eliminare [Blocchi/stilivistaDEttagli/stiliQuota/Gruppi/Layer/TipiLin/MAteriali/stiliMUltidir/stiliStampa/Forme/stiliTEsto/stiliML/stilivistaSEzione/stiliTAbella/stiliVisual/Regapps/geometria lunghezza Zero/Oggetti testo vuoti/TUtto]: _sh
Digitare nome/i da eliminare. <*>: *
Verificare ogni nome da eliminare? [Sė/No] <S>: n

Nessuna presenza di file di forma senza riferimento.

Title: Re: Purging Shapes in Acad 2011
Post by: Peter2 on July 30, 2013, 04:30:54 PM
So if I understand correctly this is a basic problem in 2011, not matter which language is used. In 2013 it seem to be OK.

BTW: If I use "_sh" I get an error; only "_SH" is accepted. That's also new for me that the options are case-sensitive.
Title: Re: Purging Shapes in Acad 2011
Post by: dgorsman on July 30, 2013, 06:13:46 PM
Seems using "" in place of "*" for shape names gives correct result.   :?
Title: Re: Purging Shapes in Acad 2011
Post by: Marc'Antonio Alessi on July 31, 2013, 03:24:36 AM
So if I understand correctly this is a basic problem in 2011, not matter which language is used. In 2013 it seem to be OK.

BTW: If I use "_sh" I get an error; only "_SH" is accepted. That's also new for me that the options are case-sensitive.
Sorry I do not have 2011 now to try but in 2010 I have same behaviour.
...on command line I use -purge to use the command line version...

Ciao.
Title: Re: Purging Shapes in Acad 2011
Post by: Peter2 on July 31, 2013, 03:56:43 AM
Seems using "" in place of "*" for shape names gives correct result.   :?
Yes, confirmed. Weird ... :|

BTW: Try to type
Code: [Select]
(command "_purge")=and watch the last entry ...

Thanks to all, I think the problem is defined and solved.

Have a nice day.