几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】modelspace entities also drawn in paperspace (http://www.dimcax.com/hust/showthread.php?t=17239)

yang686526 2009-05-06 06:00 PM

【转帖】modelspace entities also drawn in paperspace
 
modelspace entities also drawn in paperspace
modelspace entities also drawn in paperspace
on some files, i get the modelspace drawing entities drawn again in the paperspace (2nd time apart from being rendered in the model space) along with the other 2d entities in the paperspace
i prepare the device to render the active layout in the database, by calling
...
m_poddb->setcurrentlayout( layoutid );
...
pdevice = oddbgsmanager::setupactivelayoutviews( pdevice, pdwgcontext );
...
pdevice->update();
what am i doing wrong? how can i stop the 2d entities in modelspace from being drawn a second time in the paperspace?
thank you,
vijay
maybe paperspace contains a viewport showing modelspace entities? have you tried autocad to render the same file?
sergey slezkin
autocad doesnt show the modelspace entities in the layout(s).
if i create 2 layouts in autocad(even if the 2nd layout being empty) and then parse the entities then i get the model space entities in both the layouts, apart from being rendered in the modelspace.
i could probably email you the sample file we created using autocad.
thanks.
what do you mean by parse? do you see them in odamfcapp in the tree control? are layouts rendered correctly in odamfcapp?
sergey slezkin


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