As we know, if we host a reference point on another reference point, these 2 points are “connected”, moving the parent point will also move the other. In Dynamo, I successfully creating reference points on reference points, but the hosted features are gone, Can anyone offer me some assistance by showing me how to get the reference points hosted? Thank you very much!
I don’t think there’s a node for that.
You’d have to code that yourself using a Python node.
Relevant API bits:
I am really grateful for your comments, but I am totally blank to python coding. Could you please further elaborate so as to give me some guidance? Sorry for my ignorance.
This should do what you want:
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import* clr.AddReference('RevitServices') from RevitServices.Persistence import DocumentManager from RevitServices.Transactions import TransactionManager from Autodesk.Revit.Creation.FamilyItemFactory import NewReferencePoint doc = DocumentManager.Instance.CurrentDBDocument app = doc.Application ref = [UnwrapElement(i).GetCoordinatePlaneReferenceXY() for i in IN] pts =  TransactionManager.Instance.EnsureInTransaction(doc) for r in ref : re = app.Create.NewPointOnPlane(r,UV(),UV(),0) p = doc.FamilyCreate.NewReferencePoint(re) pts.append(p) TransactionManager.Instance.TransactionTaskDone() OUT = pts
First, the hosted points are created. Then the offset can be set as a parameter
This is what I am exactly looking for!!!
This world is beautiful because of your selfless attitude. Tribute to you!
@pccheung my pleasure glad I could help
Thanks for sharing this!
I have an issue with it… Everytime time dynamo runs it creates a new point. So you end up with multiple coinciding points…
Could you help with fixing that issue?
I would like to create Reference Points host by on a Curve.
Could you help me?