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.
http://www.revitapidocs.com/2017/713ec948-c85c-24fa-0668-c2c2bbdc4c73.htm

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: