Creating Filled Region Area Schedules in Revit using Dynamo

Hi everyone, I’m new to using Dynamo. I am trying to create a script that will help me generate an Area Schedule using Filled Regions in Revit.

The error message is indicating you have a conflicting unit type between the “Area” parameter and the “Region Area” parameter. My guess is that the value for “Area” includes the units, but I can’t say for sure. Expand the preview on that node and see if there are any values with characters besides numbers, if so use a String.Replace node and then convert the rest to numbers with a String.ToNumber node.