CADImage zoom to box in CAD Coordinates

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
nickm
Posts: 1
Joined: 12 Aug 2008, 17:54

CADImage zoom to box in CAD Coordinates

Post by nickm » 12 Aug 2008, 18:25

Hi,

I am using the trial version of CadImport .NET to determine if it can do what I need. I need to be able to render bitmaps of .DWG drawings on an ASP server, in order that they can be composited with another bitmap and sent to clients as jpgs.

I am using a CADImport.DWG.DWGImage object, opening a .dwg from disk zoomed to extents, and saving out as a .bmp. I can also translate between client (pixel) coordinates and CAD coordinates.

MY PROBLEM!! I cannot seem to specify which area of the CAD drawing to render out. Ideally I would like to be able to specify 4 points in CAD space (top,left,bottom,right) to define a box, and output a bitmap zoomed to these coordinates.

I am not using any form controls, since this needs to run on a web server.

I need to get this up and running ASAP in order to determine if CADImport meets our needs, or if we need to look elsewhere. Can anyone help??? Thanks.

Regards,

Nick

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: CADImage zoom to box in CAD Coordinates

Post by support » 14 Aug 2008, 15:51

Hello!

CAD Import .NET does allow creating BMP files of different ares of CAD files through ASP. We have to make a special example to show this opportunity.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply