I am getting an exception thrown from trying to create a filled region; I would like some understanding to the cause, and idea for considering solutions to problem.
Regards,
“Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 21, in
Exception: A managed exception was thrown by Revit or by one of its external applications.”
I tried to at first, but every type of “regionType” would turn up an error.
Warning: One or more of the input types are not matching. Couldn’t find a version of ByCurves that takes arguments of type (Function,__array,Revit.Elements.FilledRegionType)
You don’t have a view. Document.ActiveView requires a doc input.
I also don’t remember if your boundary input has to be a closed polycurve or separate curves, but order would likely matter in the case of the latter.