Hi @yasmin.aliPZGXS,
The 2 door swing lines are most likely constrained to the doorleaf lines (automatically maybe), make the door swing arc's less so they come off (drag the end) the leaf lines.
Then hide the leaf lines, and drag the ends against the reference line and then lock the swing to the refline.
After this I no longer get a error when using it in a project.
- Michel