Page 1 of 1

write a file that will be loaded as a Model in Autocad ?

Posted: Sat Sep 20, 2014 5:39 pm
by Julien
Hello,

We have an issue with Autocad DXF importing. The dxf content is always loaded in the Paper Layout section of the software. Hence, the content is badly scale, then we can use the function Generate model from Layout but the measures get all messed up.

Ideally the solution would be to tell the lib that in Autocad the content need to be loaded as a Model.

The file we write is perfectly readable and dimensions are correct in DraftSight, ArchiCad, eDrawings.

I tried to create a file following the example here viewtopic.php?f=21&t=823&p=8942&hilit=d ... odel#p8942, but it didn't work. The file does not open in Autocad.

Any help would be greatly appreciated.

Attached: an example file.

Thanks,
Julien.

Re: write a file that will be loaded as a Model in Autocad ?

Posted: Fri Nov 07, 2014 7:38 pm
by Julien
Hello,

I found the solution.

In fact 2 issues were preventing the drawing to correctly open in AutoCAD:

1. viewport settings where wrong I specify my own viewport and I was doing a mistake.
2. viewport settings need to include the point at (0.0, 0.0)

Fixed those 2 and everything is perfect.

Also a note if you have huge files you would need to change the HANDSEED from 0xFFFF to something more such as 0xFFFFF.

Thanks,
Julien.