Jump to content
Sign in to follow this  
Musisback

Get Screen Plan coordinates of a 3D point

Recommended Posts

Thanks but it seems to be for 2D points not 3D...

I'd like to get the screen coordinates of 3D points, whatever the 3D view is.

Share this post


Link to post

Here is how I did it :

BeginPoly3D;
  Add3DPt(TopPt.X,TopPt.Y,TopPt.Z);
  Add3DPt(TopPt.X,TopPt.Y,TopPt.Z -1 );
EndPoly3D;
getBBox(lnewobj,pt2D.X,pt2D.Y,pt2DBis.X,pt2DBis.Y);
DelObject(lnewobj);

Its pretty ugly but it works. If someone has better, I'd be glad to read it...

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...