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

yang686526 2009-05-07 03:32 PM

【转帖】selecting Entities In Oddbviewpor
 
selecting entities in oddbviewport
selecting entities in oddbviewport
hi,
i have an oddbviewport entity on paperspace layout that shows topview of modelspace. how can i select entities shown through this viewport? whenever i try to get selection using odgsview::select(), it selects the oddbviewport. is there any method to select entities within that viewport?
thx.
hi,
you are selecting in gs view corresponding to overall viewport. you should call select() on appropriate odgsview. e.g. in odamfcapp example selection is performed in currently active odgsview that corresponds to oddbviewport entity that was active when file was saved in autocad.


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