Whenever we make parametric models with a different work-flow. The models tends to lose the line object memory. So, the part gives a part error that could skip some triggering of code into the model/models.

I would reccomend an Axis system into the Flat Pattern environment so that it would not lose the line object. The orientation is linked to the Axis system.
Thanks!