Scripting notes, 2023

 From:  Michael Gibson
10932.2 In reply to 10932.1 
Hi Brian, yes by default scripts are only loaded into memory once and cached for subsequent runs.

There's a link to how to disable that here:
https://moi3d.com/wiki/Scripting

re:
> I suppose there is some way to script assigning an object to a group...

You can do it by creating a new group using the group factory, check out Group.js for an example.

- Michael