I’m sorry…sure I can. First I just wanted to know if the thing I need actualy can be done in Dynamo.
I already tryed the "passthrough’node from the Clockwork package and placed it fore the Rebar.ByCurve node.
But that only result in an error. And yet when I don’t connect a node to the hostElementId input…no error and also no rebar in Revit.
So I started to make an design script “switch” with an if-statement but that also fails.
The thing is that the calculation for the rebar must be present in the script but the input could be not present.
So the rebar isn’t needed. And when a calculation has no input it gives an error.
And though the script will complete as intended…it gives back errors to the user who does not understand those errors because he/she is using Dynamo player and doesn’t know how Dynamo works.
He/she just reads “Run completed with warnings” and stops working to ask for help.
But I also attechet my side calculation file hoping someone can help me.
Ortho coordinates on a circle.dyn (39.5 KB)