VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Image frame on/off

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
173 Views, 4 Replies

Image frame on/off

After some research I figured out how to turn the raster image frames on and
off without using LISP (see the "Raster image boundaries" thread in
customization).

Anyone know how to do the same thing in VBA?

--
Rune Wold
System Analyst
Engineering Systems
rune@engsys.no
--
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

Hi Rune. There's no method in the object model for this so you're probably stuck
with SendCommand. However, after reading your post, I added an
AcadRasterVariables class to vbXtender. It exposes image frames, picture quality
and scale units as properties along with enumerated values to prevent input
errors.

If you're interested, just shoot me an email (remove the obvious). Otherwise,
I'll get the updated files on my site sometime in the next week.

--
http://www.acadx.com
Win a free autographed copy of
"AutoCAD 2000 VBA Programmer's Reference"

"Rune Wold" wrote in message
news:1F5F98188E8D3A41D833289D14255E7A@in.WebX.maYIadrTaRb...
> After some research I figured out how to turn the raster image frames on and
> off without using LISP (see the "Raster image boundaries" thread in
> customization).
>
> Anyone know how to do the same thing in VBA?
>
> --
> Rune Wold
> System Analyst
> Engineering Systems
> rune@engsys.no
> --
>
Message 3 of 5
Anonymous
in reply to: Anonymous

Thank you, Frank. I guess I'll stick with my LISP for now.

--
Rune Wold
System Analyst
Engineering Systems
rune@engsys.no
--
Message 4 of 5
Anonymous
in reply to: Anonymous

Your confidence underwhelms me. ;^)

If you'd like to execute LISP from VBA, have a look at VLAX.cls in the Downloads
section of my site.

--
http://www.acadx.com
Win a free autographed copy of
"AutoCAD 2000 VBA Programmer's Reference"

"Rune Wold" wrote in message
news:7ED594773A84E344B52D387F11515885@in.WebX.maYIadrTaRb...
> Thank you, Frank. I guess I'll stick with my LISP for now.
Message 5 of 5
Anonymous
in reply to: Anonymous

> If you'd like to execute LISP from VBA, have a look at VLAX.cls in the
Downloads
> section of my site.

I know. I am already using it. Works great, and is why I will stick with my
LISP for turning image frames on/off. 🙂

--
Rune Wold
System Analyst
Engineering Systems
rune@engsys.no
--

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost