Error in execution of PolyCurve Offset

Good morning,
I am new with Dynamo tool.
I try to create a roof based on the polycurve offset and Dynamo gives me this error when executing: “The union of curves has generated more than one cable in the PolyCurve. A PolyCurve should only have one cable.” Please help.
Thank you so much.

Hi @earrietaBYDTP , Welcome to the Community.

Look like too many Closed curve for the roof. try single closed polycurve.