BoundarySegment no Curve property, why?

I tried to use Lunchbox Room collector in Revit2017 but continue get null result.

I then tried to run the boundary curve part but Dynamo give me the error that BoundarySegment has no Curve property.

Anyone know why and how to fix this?

pythons

maybe you supply your code?

the error message might mean anything!

I found the reason, 2017 changed the way to get BoundarySegment curve by method GetCurve() instead of peoperty Curve