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

yang686526 2009-05-05 12:17 PM

【转帖】how can i highlight an entity
 
how can i highlight an entity ?
how can i highlight an entity ?
hi,
we are using dd 2.03.00 and we want to highlight entities, but ishighlighted in exgdivectorizeview:ntraitsmodified always return false.
how does it works ?
regards.
hi,
geometry caching (gs model) must be used for drawable branch in which you want to highlight.
thanks, for your answer, dmitry.
it works with geometry cache, but if we don't want to use gs model, is there a way to highlight an entity.
best regards.
yes, you are free to implement this in graphic system yourself somehow.
just override odgsbasevectorizeview::highlight() and odgsbasevectorizeview::ishighlighted().
ok, we override those functions in wingdi module, but if gs model is false exgdivectorizeview::highlight is never called.
i'm sorry, i overlooked some things...
it seems there is no way to implement highlighting without implementing gs model...


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