几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】paper space rendering odamfcappdll.exe (http://www.dimcax.com/hust/showthread.php?t=17842)

yang686526 2009-05-06 09:38 PM

【转帖】paper space rendering odamfcappdll.exe
 
paper space rendering odamfcappdll.exe
paper space rendering odamfcappdll.exe
hello,
odamfcappdll 2.5.2( 2.6.0) does not render the paperspace of the attached dwg file as autocad does.
attached files
paper space of the drawing is empty (layout is not initialized).
if you click paper space tab in autocad it initializes the layout, creates a viewport in it and zooms viewport to extents.
sergey slezkin
thanks sergei !
could you provide me a code snippet to resolve the problem?
in your sample file paper space is empty. it was never visited in autocad.
in dd if you activate such layout using oddbdatabase::settilemode() or oddbdatabase::setactivelayout() layout will be initialized and overall viewport will be created. but model viewport (displaying model space entities) will not. this is application specific behavior.
how viewports can be created in paper space you can see in odwriteex sample.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 05:07 AM.