- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
List<ReferencePlane> listBT = new List<ReferencePlane>();
List<ReferencePlane> listLR = new List<ReferencePlane>();
foreach (ReferencePlane refLR in listLR)
{
Line lBT = getLineFromRPlan(refBT);
foreach (ReferencePlane refLR in listLR)
{
Line lLR = getLineFromRPlan(refLR);
XYZ intersectPt = getIntersectPt(lBT, lLR);
listPts.Add(intersectPt);
ReferencePoint refPtA = doc.FamilyCreate.NewReferencePoint(intersectPt);
}
if I create a NewReferencePoint like above,The refPoint won't move when my refPlane moves, there is no relationship between them.
I figured out that the NewReferencePoint method has a load ReferencePoint NewReferencePoint(PointElementReference ) and the point will remain constrained to that reference. but I don't know how to construct a PointOnEdgeEdgeIntersection with my refPlane,
Please help me out ,Thanks!
Solved! Go to Solution.