Hello! I’m having trouble with creating DirectShapes with Type with Rhino.Inside.Revit.
The Add DirectShape with location node is giving an unexpected result plus duplicated elements in different locations.
Is it possible to create Direct Shape Types without inputing any specific Geometry?
As my Direct Shapes are all different it would be great to first add the type and then assign it to the created Direct Shapes. That was my attempt of doing it by changind the Parameter “Type” of the elements once added to the model, but the Parameter “Type” is not yet defined on the elements.
Thanks @Japhy I tried your solution but doesn’t work for me. Do you have an idea what might be happening?
I noticed in your example the graphical element has already the same type as you’re inputing on the Element Type node, this is not my case.
Hi Belen, I tried your given GH file and i found it helpful tools especially for complex projects. But there is an error coming every run of the script it gave 2 direct shape in my revit model 1. is the correct one with type mode and the redundant geometry is without.
DirectShape_with_Type modified_RS.gh (13.0 KB) here you can use any brep/object. the goal is to find out why its giving multiple geometry. by reading above it seems there is a gap information the script is not final then.