I am trying to create my Dynamo geometry in Revit (2024) but the node DirectShape.ByGeometry doesn’t create my geometry. I have tried using the springs node aswell with no luck. I doesn’t give any errors and it shows an output but without the name?
How do you know they aren’t created rather than just aren’t visible? What happens if you use the new ElementIds with Select by ID? Is anything selected?
Then nothing shows up. I also tried getting all generic models in Revit itself without them showing up. I don’t know what happens, but its like they get created without acctually existing?
Is it possible you have Generic Model elements with those names already? I see you’re pulling from a Data.Remember node. If you’re creating elements with invalid duplicate names it could be that they’re being deleted after creation. Try with new names.
I created the data.remember node so that i could share the graph without the model. The original script do not have the data.remember nodes But i tried deleting all Generic Model elements from the Revit model to make sure this was not the case, but that did not change anything
I can’t pinpoint the exact problem I had, but after trying to replicate the issue with other scripts, I concluded that for some reason, my Dynamo was unable to make transactions to Revit. I had to delete all files associated with both programs and reinstall them. Now it works perfectly without any changes to the script.