Print Page | Close Window

shaded region not saved in both dwg and bmp

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=2997
Printed Date: 13.Jun.2026 at 13:37


Topic: shaded region not saved in both dwg and bmp
Posted By: ci73
Subject: shaded region not saved in both dwg and bmp
Date Posted: 12.Jan.2010 at 16:20
so i have this simulation,
when runs: on screen, i can see the shaded regions
but these not saved in dwg and bmp
i have shademode current= flat+edges.
 
the saving bit :
 
If savestuff then
 
ThisDrawing.SendCommand "shademode" + vbCr + "_l" +vbCr
Set allpolys = ThisDrawing.SelectionSets.add("allofit")
      allpolys.Select acSelectionSetAll
      ThisDrawing.Regen acActiveViewport
      ThisDrawing.SaveAs (pathname + Str$(counter))
      ThisDrawing.Export (pathname + Str$(counter)), "BMP",allpolys
 
End If
 
can anybody help ^_^ somehow i believe the problem is in the shademode; either in my current or this bit in saving
 



Replies:
Posted By: CarlB
Date Posted: 12.Jan.2010 at 19:32
Just guessing on this...
 
May be similar reason that AutoCAD is not able to plot shaded objects as generated by "shade" command, you need to "render" then plot using a raster plot driver.
 
Or can get low-resolution output with "jpgout" command.


Posted By: ci73
Date Posted: 12.Jan.2010 at 23:56

hiya thanks,

render does not let screen display ... guess have to choose either one or the other...
 
jpgout command; hmmmm
 
 



Print Page | Close Window