Wrap the distribution script in a function and use it the Construction Script - it will run outside PIE, in the editor. You can use the same function run-time, too.
Here’s a bunch of examples:
Image links are currently broken. We may need to wait until the migration is complete and wrinkles are ironed out. But YT if full of hot spline action.
There’s a working project link in the abovementioned thread that demonstrates it.