J. Miller Posted October 3, 2008 Share Posted October 3, 2008 Once again I'm not sure if this is possible but, is there a way to simulate getPt in 3D. I would like to return the x, y & z coordinates of a user defined click. Or is there a way to set a 3D locus in x, y & z, from a user defined click. Thanks in Advance Jeff Miller Quote Link to comment
J. Miller Posted October 3, 2008 Author Share Posted October 3, 2008 maybe i answered it myself. Does this look reasonable, or maybe there is an easier way? PROCEDURE Test; VAR pt1, pt2 : VECTOR; han1, han2 : HANDLE; BEGIN DSelectAll; callTool(-316); han1 := FSActLayer; Get3DCntr(han1, pt1.x, pt1.y, pt1.z); SetDSelect(han1); DelObject(han1); callTool(-316); han2 := FSActLayer; Get3DCntr(han2, pt2.x, pt2.y, pt2.z); SetDSelect(han2); DelObject(han2); poly3d(pt1.x, pt1.y, pt1.z, pt2.x, pt2.y, pt2.z); END; RUN(test); Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.