doc.Create.NewSpotCoordinate

Dear Everyone

I would like to put Dimension (Spot Coordinates) on pipes
My quesion is:

In python:
doc.Create.NewSpotCoordinate(view, REFERENCE, p1, p2, p3, p4, True)

Can someone help me with REFERENCE?

*(I tried with “FamilyInstance.GetReferenceByName” but it’s not working with pipes, only FamilyInstances)

Thank you

Hi @akos90,

The Clockwork package has the SpotCoordinate.ByPoint node for this task.
SpotCoordinate.ByPoint

Otherwise you could look in the Genius Loci package in which there are nodes that produce references.

3 Likes

That Genius Loci package helped me a lot. I would never have guessed that pipes only have point references, this is why i get null values all the time. Thanks for your time!
Best!