Author Topic: Purging Shapes in Acad 2011  (Read 3034 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 654
Purging Shapes in Acad 2011
« 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
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

owenwengerd

  • Bull Frog
  • Posts: 451
Re: Purging Shapes in Acad 2011
« Reply #1 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.

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1454
  • Marco
Re: Purging Shapes in Acad 2011
« Reply #2 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.


Peter2

  • Swamp Rat
  • Posts: 654
Re: Purging Shapes in Acad 2011
« Reply #3 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.
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Purging Shapes in Acad 2011
« Reply #4 on: July 30, 2013, 06:13:46 PM »
Seems using "" in place of "*" for shape names gives correct result.   :?
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1454
  • Marco
Re: Purging Shapes in Acad 2011
« Reply #5 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.

Peter2

  • Swamp Rat
  • Posts: 654
Re: Purging Shapes in Acad 2011
« Reply #6 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.
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23