Lattice Project/Profile: create lattice in selected/active object collections
Lattice Project/Profile: create lattice in selected/active object collections

Also avoid creating lattice objects with operators.

mrachinskiy/blender-addon-jewelcraft