查看单个帖子
旧 2009-05-07, 03:32 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)