Add In Starting Point

Add In Starting Point

Anonymous
Not applicable
184 Views
1 Reply
Message 1 of 2

Add In Starting Point

Anonymous
Not applicable

Hi,

I'm working on adapting a Plugin I made for Solid Edge to Inventor. Unfortunately, I've found that the architecture of the Inventor API is completely different from that of Solid Edge, to the point that I'm confused as to where to even start. I need to create a new ribbon with several buttons on it. If I can get the ribbon and the buttons, I think I can implement the functionality I need. I've looked at the example Add In provided by the developer tools and found it confusing. For example, it creates its own Button Class and several classes that inherit from it. Is that absolutely necessary? 

I need some advice on where to start with this API.

Please and Thank you.

0 Likes
185 Views
1 Reply
Reply (1)
Message 2 of 2

Frederick_Law
Mentor
Mentor

The one I use has a AddinGlobal and InventorButton class.

The InventorButton class take care of icons for the ribbon.

The AddinGlobal make a few thing easier to use, I think.

 

Getting the UI done is painful.  Sometime there are more UI code then working code.

I used to add button to my own ribbon but it kept moving location.  I end up adding button to Inventor Ribbons to keep command with the same group.  Also its easier to keep button at the same place.

 

Try setup the ribbon and buttons a few time to get used to it.  It'll get easier.

0 Likes