几何尺寸与公差论坛

 找回密码
 注册
查看: 891|回复: 0

【转帖】why the heck does selectby depend on the viewing angle111

[复制链接]
发表于 2009-4-12 22:52:46 | 显示全部楼层 |阅读模式
why the heck does selectby depend on the viewing angle!?!?!
when i call selectbyid2 to select a face it depends on the angle. this means that i get a different face depend on the viewing angle... which should have nothing to do with it.
the second face is viewed on it's edge... thich i suppose is the problem. it would be difficult to select it manually but since i give the exact coordinates it should be ok(the point is on the plane and no projection has to be computed)
it seems selectbyid2 uses the viewing angle to project the point given(essentially ignoring one component of the point).
x, y, z used bij selectbyid2 is not coordinate of selected face, but mouse screen coordinates
if you can give your face a name, you can search select it with getentityname(face)
search api help for en example selectcomponentfacebyname
mouse screen coordinates? why 3 components then?
well, what i'm doing using selectbyray which seems to do exactly what i want but requires me to specify a point and a ray.
originally posted by: bob jones
mouse screen coordinates? why 3 components then?
and if you have more faces behind each other?
huh? you think the third component will somehow select one of those faces? how do you think it can accomplish that?
record a macro with selecting different faces (move and rotate your object) and watch x,y,z values
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 19:57 , Processed in 0.034035 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表