TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Peter2 on July 29, 2013, 05:05:07 PM
-
Hi
I tried
(command "_purge" "_SH" "*" "_n")
in my AutoCAD German (both from commandline and from LISP) and get the message that
No visual styles are found.
When I type the same code in the commandline
Command: _purge
_SH
*
_N
then I get the message that
No Shapes are found.
Can you confirm it? Maybe it is a problem of my German version?
Thanks
Peter
-
In AutoCAD 2011 US English I get in both cases the same message:
No unreferenced visual styles found.
-
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.
-
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.
-
Seems using "" in place of "*" for shape names gives correct result. :?
-
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.
-
Seems using "" in place of "*" for shape names gives correct result. :?
Yes, confirmed. Weird ... :|
BTW: Try to type
(command "_purge")=
and watch the last entry ...
Thanks to all, I think the problem is defined and solved.
Have a nice day.