In AutoLisp, the (getpoint....) utility offers an additional point variable argument which allows a new point variable to be relative from an existing point. The form is (getpoint RefPt "Next Point Where?"). How do I invoke the same methodology in Revit using C#?
//I have used the following code to invoke various snaps
//But none of the ObjectSnapTypes seemed to offer a reference point
ObjectSnapTypes Snapper = ObjectSnapTypes.Intersections | ObjectSnapTypes.Midpoints | ObjectSnapTypes.Endpoints;
XYZ CopyFrom = uiDoc.Selection.PickPoint(Snapper, "Copy From Where?");
Snapper = ObjectSnapTypes.Perpendicular | ObjectSnapTypes.Midpoints | ObjectSnapTypes.Intersections | ObjectSnapTypes.Endpoints;
XYZ CopyTo = uiDoc.Selection.PickPoint(Snapper, "Copy To Where");
//is there any way to get this "Copy To Where" to drag a vector with angle and distance?
//similar to the vector offered during Revit's "Copy" command?
XYZ porgy = CopyTo - CopyFrom;