"So rename my script file to a text file. Then save it back as a text file. This will correct the issue of in not embedding the image."
No, I had written:
Rename the .scr to .txt and attached the script, and your final lisp...
The goal is I can see the script and the lisp you're using, and try to find what is giving error.
"I did not include the full path on purpose. Because anyone can view our conversation Is there away of make some of these post private. Thanks ...."
Modifies the path, but leaves the path structure similar.
The objective of this forums is to get help, help others and acquire knowledge, so turn this conversation in a private one, will not help others who have the same problem, so replace all the sensitive material, and no problem for you...
Henrique
Sorry, I had to read you post a couple of time. I guess you wanted me to post what I had. Long week. Thanks
what I was trying to say was
that the easiest way for me to realize what is giving error in your code is, see the code and the script files.
But I think you can not attach a .scr in the msg, therefore, I asked you to change it to .txt and attached the txt and the lsp files in the msg as attachments...
Henrique
rhami0002,
you changed
(Vl-cmdf "._Model");; I posted in message 16
to
(Vl-cmdf "._Model" "");; <-- the extra enter [""] is guiving error...
in the script, you only need
Test
the qsave is already in the lsp...
Henrique
the mix up was when I tried to add tilemode and match some of the code you wrote sorry. I will try this first in the AM. Thanks for your help..
The changes you made helped but the script ony half embeds the tiff. Ileft the file reference dialog box up during script and it embeds it onlly in the saved path column. What should happen is it should add EMB to the end of the file name and say EMBEDDED under the saved path column. I will attach the IEM.lsp mayed that could be writen in script form so I could run Iembed command on several draws at once. The lisp works fully but not the scrpt. I am not sure what to do???
it's a behavior that I can't replicate...
but if you want to use IEM.lsp with script pro, you just have to create a script with two text lines
(load "c:\\path\\path\\iem.lsp")
(c:iem)
Henrique