Select a spline In the "Properties" window, go to the "Scene Properties" tab and under the "Spline Exporter" dropdown select "Export Spline" Select the desired file location for the exported .json ...
Place your code in separate files. Best pratice is to put operators, menus, views etc. everything that needs a register and unregister function into its own file and let 'init.py' initialize the ...