I’m trying to create a Revit element with rebar via Dynamo by input from excel.
However…when I create a floor in Dynamo via Rectangle.ByCornerPoints and then a Floor.ByOutlineTypeAndLevel and feed that to element ID and then in the hostElementId input from Rebar.ByCurve…the node doesn’t like this!
I get an error saying that the given hostElementId isn’t a valid one.
When I create a floor (same floortype as I created via Dynamo) and use the Select Model Element node…the error is gone and Dynamo has no problem.
I’m trying to incorporate that node but It’s not working.
To be honest I even don’t know were to put the node. I’ve placed it at different places in the script with different things as the “waitfor” input. But I even don’t know what needs to go into the input “waitFor”.
I do think I understand the function of the node and what you by “sequentially”.
I can use the passthrough output only when the watfor info is created…am I right?
HOLY and CRAP!!!
I never got that on my own!
I’ll copy your code block and hope it works!
Thanks for your help on this.
Is this piece of code a bit of the general way to get a surface?
Because this floor is just a test to understand what’s involved in creating rebar.
The form I realy want to use (in the end) is this (the windmill foundation not the piles):
Hi Mike,
The reason is that Rebar can only be hosted by Structural elements. In Dynamo the Floor creation nodes generate an architectural floor (sigh ). So it can be corrected very simply by setting the “Structural” parameter of the Floor to “True” within Dynamo after the floor creation and before the rebar generation. See screen shot below.