I can’t use simple things like circles or polygons to create the floors. How can I convert circles or polygons to a list of curves?
Revit doesn’t have a polygon object, so you have to send the individual curves. Polygons and polycurves can be exploded with a Geometry.Explode node, as they are complex geometry.
Circles have to be split into two curves before they can be used to generate a floor (for the same reason why circular floors in Revit have two arcs instead of a single circle when you edit them), which can be done via Curve.SplitByParameter node, likely with a parameter value of 0.5.
2 Likes
Thanks. It worked
1 Like