How to translate all selected objects to Civil3D Origin

Hello everyone,

My script to generate road markings in Civil3D only works when my input is really close to the Civil3D Origin, otherwise it will error/ freeze my Dynamo and Civil3D.

Is there a simple way to translate all my data (imported from the modelspace) to the Civil3D Origin and then back after using it?