Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey Everyone’
I am trying to create a dimension between the TV electric point to the wall that host the door.
The problem I am facing is how to find the XYZ coordinate on the wall to create a straight line between the TV electric point to the wall.
I created a plane using the wall locationCurve and a vector directed up ,XYZ(0,0,1).
plane = Plane.CreateByOriginAndBasis(eleHostLine.GetEndPoint(0), upVector, eleHostLineXYZ);
and projcted the point on the plane using
UV uv;
double distance;
plane.Project(plugInXYZ, out uv,out distance);
now I am tring to find what are the XYZ coordinate of the projected point on the plane using the UV coordinate.
Idea anyone?
Solved! Go to Solution.