SgImage Size limit
Posted: 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
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