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

yang686526 2009-05-06 08:20 PM

【转帖】oddbviewport - odgiviewportdraw association
 
oddbviewport <-> odgiviewportdraw association
oddbviewport <-> odgiviewportdraw association
hi,
i am trying to use odgiviewportdraw object in entity's viewportdraw(odgiviewportdraw* pvd) function. when i try to get objectid of assosiated oddbviewport it is null. where and how does oddbviewport gets associated with odgiviewportdraw?
thx

odgsbasevectorizedevice::createview(const odgsclientviewinfo* pviewinfo = 0, bool enablelayervisibilityperview = false);
odgsclientviewinfo::viewportobjectid contains viewport id. if you don't pass odgsclientviewinfo pointer or viewport id to createview, odgiviewportdraw::viewportobjectid() will return null when updating view created in such manner.
dwgdirect had this issue with rendering of highlighting graphics (), but it was fixed and fix will be available in 1.14.02.
sincerely yours,
george udov


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