Print Page | Close Window

export autocad drawing active view as a jpg

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13756
Printed Date: 31.May.2026 at 20:24


Topic: export autocad drawing active view as a jpg
Posted By: katto01
Subject: export autocad drawing active view as a jpg
Date Posted: 24.Sep.2022 at 12:41
Hello,

I am trying to export the ZoomAll view of an AutoCAD drawing as a jpg image using VBA.
Tried the following but none of the two lines seems to work.

Any ideas?

Thanks

ThisDrawing.Application.ThisApplication.activedocument.saveasbitmap((image_name,1200,800)

ThisApplication.activedocument.saveasbitmap((image_name,1200,800)


-------------
Katto Ishimura



Replies:
Posted By: Vladimir Michl
Date Posted: 25.Sep.2022 at 12:49
Why not just JPGOUT?

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: katto01
Date Posted: 28.Sep.2022 at 11:59
is there a VBA equivalent to JPGOUT?

-------------
Katto Ishimura



Print Page | Close Window