Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have found that when creating an Inventor GUI Popup using RibbonPanel.CommandControls.AddButtonPopup, the
ObjectCollection buttonDefs = m_inventorApplication.TransientObjects.CreateObjectCollection() collection can contain the ButtonDefinition(s) or ControlDefinition(s). Is there any reason to choose one over the other? The ControlDefinition setup is an extra step, so I would opt for "keeping it simple" and use the ButtonDefinition unless there is a code preference someone knows of.
Solved! Go to Solution.
