Cylinder from Dynamo to Revit

Warning: Surface.PermimeterCurves expects argument type(s) (Autodesk.DesignScript.Geometry.Surface), but was called with (Autodesk.DesignScript.Geometry.Cylinder).

I would like to display the cylinders on the “Site” in Revit (see fig. 2 ; red indication). However, I get the above message. Probably because I make a “Cylinder” not equel to a “Surface”. Which node should I replace “Surface.PerimeterCurves” with (see also fig. 1, fig. 2 and fig. 3)?


Fig. 1


Fig. 2


Fig. 3 (input “Surface.PerimeterCurves”)

Have anyone a solution for this?

Thanks in advance.

Hi @j.boonen !
Did you try PolySurface.BySolid, then PolySurface.Surfaces ?

1 Like

@Francois_Labonne

Thanks!
Problem solved!


Fig. 1


Fig. 2

1 Like