|
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 |
|