DNK Posted June 30, 2011 Share Posted June 30, 2011 Is there a way to create a thumbnail for a block that looks like the block when in a drawing rather than exploded when written to a file? All of the hidden attributes are currently being shown in the thumbnail using Wblock and it is visually unappealing and confusing. I'm using AutoCAD 2011 to create blocks and thumbnails for a program called WireCAD. Quote Link to comment Share on other sites More sharing options...
BlackBox Posted June 30, 2011 Share Posted June 30, 2011 Not sure I understand the issue completely, but it sounds like your issue is being cause by the ATTMODE system variable being set to 2. Instead set ATTMODE = 1, and see if that doesn't fix the issue. Quote Link to comment Share on other sites More sharing options...
DNK Posted June 30, 2011 Author Share Posted June 30, 2011 (edited) Not sure I understand the issue completely, but it sounds like your issue is being cause by the ATTMODE system variable being set to 2. Instead set ATTMODE = 1, and see if that doesn't fix the issue. Attmode is not the issue. Let me explain further. When I have a block inserted into a drawing, it looks like this: And when I write the block to a file, that file looks like this: And in WireCAD, the thumbnail looks like this: What I'd like to happen is the thumbnail to look the first image, or what the block looks like when inserted. FWIW, it's the same thumbnail that is seen in DesignCenter. Edited June 30, 2011 by DNK updated image paths Quote Link to comment Share on other sites More sharing options...
SLW210 Posted June 30, 2011 Share Posted June 30, 2011 I do not see anything. Could you please attach the drawing here? Quote Link to comment Share on other sites More sharing options...
DNK Posted June 30, 2011 Author Share Posted June 30, 2011 I do not see anything. Could you please attach the drawing here? How about now? Quote Link to comment Share on other sites More sharing options...
SLW210 Posted June 30, 2011 Share Posted June 30, 2011 I see them now. Quote Link to comment Share on other sites More sharing options...
DNK Posted July 1, 2011 Author Share Posted July 1, 2011 Anyone? 12345678910 Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 3, 2011 Share Posted July 3, 2011 What are you going to do with your thumbnails do want to have a dialouge that displays them for user pick etc then just make a jpg by picking screen area and saving. Then search for bmp jpg in dialouges. If you can not find anything post here I have some code Quote Link to comment Share on other sites More sharing options...
Jeff H Posted July 3, 2011 Share Posted July 3, 2011 They are easy to grab using the .NET API Quote Link to comment Share on other sites More sharing options...
DNK Posted July 6, 2011 Author Share Posted July 6, 2011 What are you going to do with your thumbnails do want to have a dialouge that displays them for user pick etc then just make a jpg by picking screen area and saving. Then search for bmp jpg in dialouges. If you can not find anything post here I have some code Simply, I'm trying to get the preview image in AutoCAD Design Center to reflect the block as it looks when inserted into the drawing, rather than as it looks when exploded. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 6, 2011 Share Posted July 6, 2011 I am not knowledgeable with WireCAD, but in the tool palette for AutoCAD you can specify any image for the thumbnail. Quote Link to comment Share on other sites More sharing options...
DNK Posted July 6, 2011 Author Share Posted July 6, 2011 Unfortunately, I don't have the option of choosing an image file to define the thumbnail. Does anyone know where the thumbnail data is stored? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.