Author Topic: kill spectfiy for style and select shape file dialogue box  (Read 1270 times)

0 Members and 1 Guest are viewing this topic.

dussla

  • Bull Frog
  • Posts: 286
kill spectfiy for style and select shape file dialogue box
« on: July 27, 2014, 12:47:57 AM »
hello firend  always thank you
day is hot , take a care~~~
i have  a problem ,
if i open othere  dwg file ,  always appear spectfiy for style and select shape file  dialogue box
i would like to kill dialogue box

how can i do that ?

i used cad 2008

Coder

  • Swamp Rat
  • Posts: 827

dussla

  • Bull Frog
  • Posts: 286
Re: kill spectfiy for style and select shape file dialogue box
« Reply #2 on: July 27, 2014, 02:30:05 AM »
thank you
i wonder , that code  is after rotuine
if i open  dwg file ,   dialogue box is opened
pls where  do i put that code  ?

Coder

  • Swamp Rat
  • Posts: 827
Re: kill spectfiy for style and select shape file dialogue box
« Reply #3 on: July 27, 2014, 02:57:07 AM »
Copy and paste the codes to notepad file and save as rform.lsp
open your drawing
type appload and select the lisp routine
type rform
save your drawing
close and open again .

dussla

  • Bull Frog
  • Posts: 286
Re: kill spectfiy for style and select shape file dialogue box
« Reply #4 on: July 27, 2014, 04:03:16 AM »
sorry , i know that
but  i have problem , when i open file , message box is apeared
so  after opening  dwg , that routine is usefulees
can you understaned  ?
sorry my poor englisk skill , understand my roudenss

cmwade77

  • Swamp Rat
  • Posts: 1443
Re: kill spectfiy for style and select shape file dialogue box
« Reply #5 on: July 28, 2014, 02:48:52 PM »
I believe it was AutoCAD 2012 or 2013 that introduced a checkbox to always ignore this error, for earlier releases there are four basic options available:

1. Get the missing .SHX file
2. Create the .shx file that AutoCAD is asking for (you can simply copy the linetype.shx file from the LISP routine posted earlier and rename it)
3. Use the LISP routine earlier
4. Put up with the dialog box all of the time


All four methods involve opening the file at least once to find out which file is needed.

There is a 5th more advanced option and that is to get a program that automatically closes dialog boxes for you, such as:
Buzof - See http://www.pcworld.com/article/232412/buzof.html

This doesn't prevent the dialog box from appearing, but it will close it a soon as it shows.