TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: dussla 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
-
this is maybe can help you .
http://www.theswamp.org/index.php?topic=28096.msg336843#msg336843 (http://www.theswamp.org/index.php?topic=28096.msg336843#msg336843)
-
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 ?
-
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 .
-
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
-
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.