Hi @ccoomes. I believe I have some code for that task, but I was only using it before we updated from 2022 version to 2024 version. Back then, when you added rules to the ribbon using iLogic rules, they would only stay for that session of Inventor, they they would be gone again when you restarted Inventor. You could use event triggers to run it when the first document opens, but must use custom code to avoid running it every time any document opens. Plus, the code I am attaching was handling the button click events to run the rule associated with the button, instead of letting Inventor manage that. Not sure if the special command name formatting for external iLogic rule buttons was established yet while using 2022 version. In 2024 version, the commands for these start with "iLogic.Rule:", then if the rules are in a sub folder of a main iLogic rules directory, the name of the directory will follow, with the "\" symbol at its end, then the name of the iLogic rule file, with its file extension. Not sure if using that command name formatting in 2022 version would have worked or not.
Attached is one version of an external iLogic rule I was using at the time. It is quite long, and has many routines included, so it may take a while to review before trying it out.
Wesley Crihfield

(Not an Autodesk Employee)