objectmappings in Max projects / Max for Live
Jun 07 2021 | 7:50 am
Some packages bundle together multiple classes into a single .mxo / .mxe and use an object mappings file to alias specific classes to this file.
I'm wondering how / whether it's possible to get this mechanism to work in the context of a .maxproj or .amxd. I've tried
- simply including the objectmappings text file for that package in the device
- using the open actions text file to send the messages mapping mesages to Max:
;max objectfile foo bar but no luck.
The messages to Max in the open actions seem to happen after boxes have been created (?) . I guess I could refactor stuff to try and dynamically load my main patch after a delay, but this doesn't fill me with joy so I'm hoping I've just missed something obvious. (As the developer of some aliased externals, if there's some better practice I should adopt that makes it easier to distribute such things, I'd be all ears...)