Jump to content
Developer Wiki and Function Reference Links ×

getPt is there a 3d version


Recommended Posts

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...