Jump to content
Developer Wiki and Function Reference Links ×

How to create a Poly3D on the ground plane

Recommended Posts

I've battling the for a couple of days now and can't get my head around Poly3D and then I discovered that it's GetPt3D that's throwing me off.

procedure test;


vec1 : vector;

h1 : handle;



GetPt3D (vec1.x, vec1.y, vec1.z, false);

Poly3D (5, 0, 0, 300, 0, 0, 300, -457, 0, 33, -457, 0);

h1 := ConvertToPolyline (LNewObj);

SetPolylineVertex (h1, 2, 300, 0, 3, 90, true);

SetPolylineVertex (h1, 3, 300, -457, 3, 90, true);


run (test);

In front view I get a different result with and without GetPt3D.

I want the Poly3D to be on the top view no matter what view I am in so what's going wrong?

If you test the above without GetPt3D and in any view then you get the result I want but I want to ask the user where they want the result to be after creating it.

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.

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