Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add button to simplify panel 2015

1 REPLY 1
Reply
Message 1 of 2
Arnold82
233 Views, 1 Reply

Add button to simplify panel 2015

Hello,

 

I have an addin that adds a button to the 'Assemble' tab in an assembly:

 

Dim ribbon As Inventor.Ribbon = uiMan.Ribbons("Assembly")
Dim tab As Inventor.RibbonTab = ribbon.RibbonTabs("id_TabAssemble")

 

This works fine in any inventor version.

Now I was asked to move this button to the 'Simplify' tab for 2015.

 

I've gathered internalnames of all tabs in the assembly ribbon in a textfile

 

Tabs (internal name)

id_TabAssemble

Simplification:AssemblyTab

id_TabDesign

id_TabModel

id_TabSketch

id_TabWeld

etc

 

The problem is that if I change ribbon tab name from "id_TabAssemble" to "Simplification:AssemblyTab" I get an error.

 

What am I doing wrong?

 

Another question, the simplify tab has 2 panels according to my textfile:

 

Simplification:AssemblyTab
   Simplification:AssemblySimplifyPanel      {71019C12-43F6-4C11-BA7A-AD9BDBC5EA0C}
   Simplification:AssemblyModifyPanel      {71019C12-43F6-4C11-BA7A-AD9BDBC5EA0C}

 

But I only see one in Inventor, which one is that?

 

1 REPLY 1
Message 2 of 2
Arnold82
in reply to: Arnold82

 

Anyone from autodesk who can help me?

 

I get an error when I change:

 

Dim tab As Inventor.RibbonTab = ribbon.RibbonTabs("id_TabAssemble")

to

Dim tab As Inventor.RibbonTab = ribbon.RibbonTabs("Simplification:AssemblyTab")

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report