I created solids from space geometries but I am struggling to convert it into a solid that Dynamo can use. Is anyone able to point me in the right direction?
Shouldn’t this be “ToDSType” instead of “ToProtoType”?
Though going back, what sort of geometry are you getting from revit, because dynamo can sometimes have fits with certain geometry types when in python and trying to convert it directly. Eg i have had issues with revit spline lines getting them into dynamo which then means you have to utilize tessellation to do the conversion.
A revit solid element cannot be put into a dynamo node that requires a solid, you have to convert the revit element into a dynamo element. There is a node called “Element.Solids” that will do this change for you, just make sure you have done the wrapping of the solid prior.
Hi Brendan,
Thanks for the advice. The following error is generated when I use the nodes as described in the blog (so I am not sure if Dynamo is able to extract the geometry from a Space):
What is the space geometry types for how they are built? Maybe take a snippet of the floor plan?
Reason for saying this is that the actual geometry could be causing your issue(eg complex curves not converting over and may need tessellating into points then recreating it in dynamo).
I meant replace the ToProtoType() with the “ToDSType(true)”.
I am thinking the conversion method Autodesk provides does not work and that I will need to leverage the API for any operations I would like to perform on Solids generated by Space Geometry. I was hoping to use Dynamo Nodes.
Kind Regards,
Paul Storm