查看单个帖子
旧 2009-05-07, 06:34 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】viewport Transformation

viewport transformation
viewport transformation
hi,
i want to get coordinates of all vertices of entities currently drawed (eg. in current layout). when current layout is modelspace, and entity belongs directly to modelspace, i simply get it's coordinates and that's all. when entity is in block reference, i use block reference transformation.
but what when i have a layout, with specified viewport? when i iterate through entities, i get some number of viewports, i use the one which is oddblayout::activeviewportid (is this correct?), but oddbviewport doesn't provide any method like transform() to get it's relationship to modelspace.
i tried to use method presented in
the correct link:
will our vectorization functionality meet your needs (see odvectorizeex)? this method would be simpler than what you are currently doing.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)