- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Which version of Inventor are you using? If 2024, then when iterating through the ControlDefinitions, you will see some with the name starts with "iLogic.Rule:", followed by the name of the external rule file, and file extension. That is the name of the ControlDefinition that the button will execute when clicked. And if adding the rule as a button using an iLogic rule, it may only stay there for the current session of Inventor, then it will be gone again. If you want the buttons to stay, you will want to add them manually, or use an add-in which puts them in place when Inventor starts. And I usually just get the ClientID of he iLogic ApplicationAddIn to use there, instead of "SampleClientID", when it is just for iLogic related stuff.
Wesley Crihfield
(Not an Autodesk Employee)