Author Topic: How to purge all VISUALSTYLEs at line-command before qSave  (Read 254 times)

0 Members and 1 Guest are viewing this topic.

d2010

  • Bull Frog
  • Posts: 202
How to purge all VISUALSTYLEs at line-command before qSave
« on: April 12, 2021, 06:54:03 AM »
I want purge all "VISUALSTYLE/s" from attached.dxf
I need purge before saved the dwg with (saveas..)
I need the command from AutoCAD for erase all "VISUALSTYLE/s"
 ;-)
Code: [Select]
     0
  0
VISUALSTYLE
  5
20013
102
{ACAD_REACTORS
330
20008
102
}
330
20008
100
AcDbVisualStyle
  2
Dim
 70
    11
 71
     2
 72
     2
 73
     0
 90
        0
 40
-0.6
 41
-30.0
 62
     5
 63
     7
 74
     1
 91
        4
 64
     7
 65
   257
 75
     1
175
     1
 42
1.0
 92
        8
 66
     7
 43
1.0
 76
     1
 77
     6
 78
     2
 67
     7
« Last Edit: April 12, 2021, 07:18:00 AM by d2010 »

Peter2

  • Swamp Rat
  • Posts: 619
Re: How to purge all VISUALSTYLEs at line-command before qSave
« Reply #1 on: April 12, 2021, 08:51:50 AM »
Do you want to
a) purge the pure DXF code with an editor or
b) to purge it inside AutoCAD?

For b) use:
Code - Auto/Visual Lisp: [Select]
  1. (command-s "_-purge" "_visu" "*" "_n")
Peter

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