@Anonymous
Open your template
change imageframe it to 1 (if current 0, set it to 1), change it to 0, save your file - your welcome.
@imadHabash
Why should someone set frame to 0?
@john.vellek
I know that problem or better the problems about it since many years! i think.
In AutoCAD is a bug of IMAGEFRAME handling.
1. Imageframe isn't every time a really DRAWING-variable. Sometimes it is more like the hell-appload and the hell-sysvarmon (another story).
2. At least part of the problem is file based
Back to topic:
Without writing 2 pages about my tests, for reproduce I show you two things, follow exactly my steps:
Set modemacro for checking during the test, please: modemacro frame=$(getvar,frame)~imageframe=$(getvar,imageframe)
1)
Start 2019, (or 2013 or.. 2018 or.. / to compare our results i talk about 2019 only know)
open or start a file
set imageframe to 0
saveas imgf0.dwg
set imageframe to 1
saveas imgf1.dwg
(reopen imgf0.dwg) toggle between both files and look at the statusbar / modemacro - imageframe value
surprised?
close both files.
set imageframe to 1
open imgf0.dwg, imageframe is change to 0
open imgf1.dwg, imageframe is change to 1
switch to imgf0.dwg, imageframe is still 1
2a) DWT & file based part
Set imageframe to 0
start NEW file based on acad.dwt, imageframe is still 0 now(?!).
command: _IMAGEATTACH or via external palette/image,
attach your last holiday picture (thats very! important)
How looks the border of your image (frame is visible)?
What is the value of imageframe(0)?
Save the file, close, re-open them.
What is the value of imageframe(1)?
Oups. and in older versions too.
2b) One test more:
Set imageframe to 0
OPEN(!) acad.dwt,
set imageframe to 1,
set imageframe to 0,
saveas "acad_opt.dwt" and close.
Test:
Set imageframe to 0
start NEW file based on acad_opt.dwt, imageframe is still 0 now(?!).
command: _IMAGEATTACH or via external palette/image,
attach your last holiday picture (thats very! important)
How looks the border of your image (frame is not visible)?
What is the value of imageframe(0)?
Save the file, close, re-open them.
What is the value of imageframe(0)?
You can compare the result by using acad.dwt and the new acad_opt.dwt now.