Get room length and width

dear people,

im looking for a way to get the room length and width from revit. im getting some errors as u can see under. does anyone know how or thats wrong? perhaps you have came across this error before.

greetings

1 Like

Could you show what the warning says ?