高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|