Small Fish 发表于 2022-7-6 14:13:57

Kill 'Select Font File�

This is a question thats been asked a thousand times before.
The answers are not really that satisfactory - in my opinion.
First you have to find the linetype or shx font file and purge which can be hard to do. Other wise ask the originator for the shx file which can be impossible.
So is it possible to kill the 'Select Font File" dialog box as soon as it shows?
I know it's a work around but at least it will stop the extremely annoying dialogbox.
I thought adding some code to acaddoc.lsp so it is automatically loaded
Firstly how can I programatically identifythe 'Select Font file' dialog box?
Secondly how can I make it disappear?
Any ideas?
thanks

Small Fish 发表于 2022-7-6 14:27:02

Thinking about it - I have a possible solution - set FILEDIA= 0 then enter and enter then reset FILEDIA back to 1.
I am not sure whether this would be a good idea as it might also kill any other messages.
Also what happens when the Select Font File Dialog box doesn't show?

Cad64 发表于 2022-7-6 14:44:50

If you automatically kill the dialog, then you will never know that you are missing shape files, which may actually be important to the drawing. The shx files are not just fonts, they are also used in custom linetypes. You should always try to obtain these files whenever possible, rather than just dismissing the warning without regard.
 
And, as I've said a thousand times already, if people would just use Etransmit when sending files, we wouldn't have problems like this.

Small Fish 发表于 2022-7-6 14:50:50

I have an xref that originated from some outside drawing all other linetypes have been deleted - so I am left with just a simple drawing. I don't care about the warning because I just have one line type and no fonts exists. I know which font/linetype file is missing! Repeating the warning over and over is superfluous.
 
Whether people use E-TRANSMIT is something I can not fix.

Cad64 发表于 2022-7-6 15:05:33

If it's just this one file, then why not WBlock the drawing out to a new file?
That should get rid of the problem.
 
If you write some code into your acaddoc.lsp, then it will run every time you open a drawing and kill the dialog every time. So you will never know you are missing shape files in other drawings.

Small Fish 发表于 2022-7-6 15:21:09

I could as you say just wblock the drawing - but that does really solve the over all problem.
 
Anyway cad64 - my question is not about the rights and wrongs of getting rid of the dialog box.
My question is how can I programatically kill the dialog box?
页: [1]
查看完整版本: Kill 'Select Font File�