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

yang686526 2009-05-06 11:29 PM

【转帖】problem with odgsselectionreactor in 1.12
 
problem with odgsselectionreactor in 1.12
problem with odgsselectionreactor in 1.12
if we have a blockreference with attribute, the function odgsselectionreactor::selected is call even if is the selection is not on an attribute of the blockreference.
this drawing have the problem.
we can't select the line without selecting the blockreference, we test it with odamfcappdll and odamfcapp.
attached files
this bug is already fixed and the fix will be available in next update.
if some entity using text primitive in its worlddraw (text,mtext,attribute) calls text primitive with empty (or spaces only) string the entity gets selected.
some attributes in your example are empty. since only top-level entities can be selected - block reference together with all its attributes is selected.
sergey slezkin


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