SiteSubRegion Create Method in Python Script for Dynamo

Hi all!
How can I use this method in Python Script for Dynamo?

I’d like to create subregions by using Revit model lines. I started my own script but it’s not work properly…
Does someone can help me?

SubregionByLines_mark2.dyn (8.9 KB)

You may need to convert your ModelCurve to a GeometryCurve.

In my script I have poly curves and it’s not working. Can someone help?

Hi @flaviablancot

Convert PolyCurves to Curves. Have a look at this thread:

It works! Thanks! :slight_smile: