Author Topic: Revisit..Lost preview image with ObjectDbx  (Read 4622 times)

0 Members and 1 Guest are viewing this topic.

EagerToLearnCad

  • Guest
Revisit..Lost preview image with ObjectDbx
« on: November 06, 2007, 10:49:57 AM »
Hello,

I been reading up on ObjectDbx. I understand there is a utility called "ThumbNailer" that will
restore the preview image. Does anybody know if there is a version that will work with Autocad 2008?

If not, I'm trying to write a code that will "quickly" open the drawing. Do a qsave then quit.

Sequence:
1. Create a "simple" profile that does not load any customized cui or no cui at all. So that the drawing
   will open quickly.
2. Do a Qsave then Quit.
3. Return to the previous profile.

Can somebody please show me how this can done? Ofcourse I am open to any suggestions or methods of how
to create the preview image.

Thanks,
Mark

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Revisit..Lost preview image with ObjectDbx
« Reply #1 on: November 06, 2007, 11:09:08 AM »
First welcome to theSwamp Mark!

The Thumbnailer.arx was done by Tony Tanzillo, and I'm not sure if he updated it for '08 or not.  Did you find the older version?  If so, does it not work in '08?  I use it, but am only on '06 for now.  If one knows C# (or vb .Net) then they could write there own, but for now all I know is of Tony's.

To save a drawing the way you want, I would use a script file.  I would use a lisp to write the script file.  I think there have been some posted on here that will write the script file (opening and closing parts) and all you tell it is the middle part.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

EagerToLearnCad

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #2 on: November 06, 2007, 11:46:45 AM »
Hi Tim,

Thank you for the welcome. Yes I tried the ThumbNailer versions I downloaded with Autocad 2008, but it
did not work. And yes I've seen some sample coding in here that I think I can use.

I wonder if I should post this to the other forums (c+,vb..). What do you think?


Mark

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Revisit..Lost preview image with ObjectDbx
« Reply #3 on: November 06, 2007, 12:10:25 PM »
Mark,

  In the zip file that you down loaded it has the ObjecArx code in the text file.  I assume you could just recompile it for use with the new version.  If you go that route, then I would re-post here in that forum to get some help, as I have not idea what you would need.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

EagerToLearnCad

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #4 on: November 06, 2007, 12:31:46 PM »
Tim,

>In the zip file that you down loaded it has the ObjecArx code in the text file.
No. It has the two (2) arx & a readme.txt file. One Arx for acad2002  & one arx
for acad2006. Readme.txt is alike a install & instruction on how to use the program.


Mark

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Revisit..Lost preview image with ObjectDbx
« Reply #5 on: November 06, 2007, 12:34:11 PM »
Tim,

>In the zip file that you down loaded it has the ObjecArx code in the text file.
No. It has the two (2) arx & a readme.txt file. One Arx for acad2002  & one arx
for acad2006. Readme.txt is alike a install & instruction on how to use the program.


Mark
The read me I have, at the bottom has the ObjectArx code snippet.  Your's doesn't?
« Last Edit: November 06, 2007, 12:35:36 PM by T.Willey »
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

LE

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #6 on: November 06, 2007, 12:47:38 PM »
Mark...

Do you write code in ARX and or know about COM with C++ ? [That's what Tony used in his application, AFAIK]

EagerToLearnCad

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #7 on: November 06, 2007, 12:50:36 PM »
Oops!..Yeah your right. At the bottom I guess are the ObjectArx stuff. But dont you need
like 3 other files to recompile in arx?

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Revisit..Lost preview image with ObjectDbx
« Reply #8 on: November 06, 2007, 12:54:13 PM »
Oops!..Yeah your right. At the bottom I guess are the ObjectArx stuff. But dont you need
like 3 other files to recompile in arx?
Luis can answer that one, as I don't know how to do anything with ObjectArx, yet.   :roll:
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

LE

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #9 on: November 06, 2007, 01:00:21 PM »
Oops!..Yeah your right. At the bottom I guess are the ObjectArx stuff. But dont you need
like 3 other files to recompile in arx?

I do not think the whole SLN will be available as open source from the original author.... he only provided in there the function, but requires more than that.

EagerToLearnCad

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #10 on: November 06, 2007, 01:51:01 PM »
Thank you guys...I guess I'll working on the script.

Bob Wahr

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #11 on: November 06, 2007, 02:17:32 PM »
I've got a DVB that writes scripts that a co-worker sent me.  I haven't ever tried it and don't know how well it works.  I also don't know where it came from or who wrote it.  There's a Module and a Class Module that have credits in them but no credit for the complete program.  Since it isn't mine, I'm not going to post it, but if you PM me an email address, I'll send it to you.

EagerToLearnCad

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #12 on: November 06, 2007, 02:25:02 PM »
Bod,

I just sent you an email...


Thank you,
Mark

EagerToLearnCad

  • Guest
Re: Revisit..Lost preview image with ObjectDbx
« Reply #13 on: November 06, 2007, 02:46:18 PM »
Bob,

Got it & thanks for info about "pm".

Mark,