Create Filled Region


I’m trying to create a filled region using the workflow as described in the online guides but it doesnt seem to work. I dont get an error message either. Does anyone know why?

Many thanks,


There’s an error in the create filled region code.

line 29:
revit_curves = [Convert.ToHost(x) for x in C]

Should be
revit_curves = [Convert.Geometry.GeometryEncoder.ToCurve(x) for x in C]

1 Like

Hi Japhy,

Thank you for your answer.

How and where can I change this?

Many thanks,


Double click on the component icon (pink)

Brilliant. Thank you!