SgImage Size limit

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
fabzouni
Posts: 10
Joined: 15 May 2006, 14:29
Location: France

SgImage Size limit

Post by fabzouni » 29 May 2006, 20:05

Hi,

I've a problem to display a Dwg into a sgImage.
When i open this file (using tsgdxfimage) the picture is displayed very small into a very big white sheet.
It is the same thing if i open the same file with abviewer,
But if i open it with autocad, no problem.
Maybe it's because the origin is very far from the objects.


If i want to see the content of the file i must zoom with a scale around 50. When i want to zoom again to see some detail I can't because the sgImage size i near to the limit width (5700000).

I've change this size limit to 570000000 (x100) into the unit sgimage.pas and now I can zoom again.

I have 2 questions :
* Could this change cause some problem ?
* Why the size of the sgimage is so big with small objects into?
Is it a bug of sgimage or can i do something to change this ?

If needed, I can send the dwg file that causes these troubles.

Thanks for your help

Fabzouni

Evgeny
Posts: 115
Joined: 16 Mar 2004, 11:04
Location: Russia

Post by Evgeny » 30 May 2006, 20:01

Hi Fabzouni,

Please send the dwg file to support@cadsofttools.com
After we can help you.
Thank you.

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

Post by support » 06 Jun 2006, 11:34

Hello,

Thank you for the file. We have found the reason of the problem. It arise with some special hatch entities. We shall fix this bug in the next release of the library. We shall inform you when it will be available.

Sergey.


please post questions to the forum or write to support@cadsofttools.com

Post Reply