Imageframe
Using either lisp or vba, is there a way to programmatically change the IMAGEFRAME setting from On to Off?
0
Comments
-
You should be able to use
(setvar "imageframe" 0)
According to the settings dialog:
0 = Hide image frames
1 = Display and plot image frames
2 = Display but do not plot image frames0 -
Thanks for your reply. I too, thought using (setvar "imageframe" 0) would turn it off, but I've tried all the settings 0, 1, 2 and there is no change with the image frame. I can't turn it off or on using setvar. I have a small jpg file inserted in my paperspace layout and the only way I can get the frame to turn off is interactively from the command line. Very odd.0
-
Hi Brent,
I have a support request (SR27846) already open for this. There seems to be two IMAGEFRAMES settings, but only one is utilised by BricsCAD.
Changing under _SETTINGS, or use getvar setvar via LISP has no effect. However if you run from the command line, then you can turn imageframe on/off. You try this for yourself by the following test
(setvar 'IMAGEFRAME 2) ; This should change Image frames to view, but not print
(command "._IMAGEFRAME" "_OFF") ; This will turn Image frames off.
(GETVAR 'imageframe) ; This should now return 0, but it is still set to 2.
So in summary you must use the _IMAGEFRAME command, which only has the option to turn image frames on or off.
Note there is another variable called FRAME that is supposed to allow you to globally control all underlay frames. You can set it in BricsCAD, but at this stage it has no effect.
Best regards,Jason Bourhill
0
This discussion has been closed.