How to create Add-in with icon and in a specific position of UI in C#

How to create Add-in with icon and in a specific position of UI in C#

Anonymous
Not applicable
650 Views
7 Replies
Message 1 of 8

How to create Add-in with icon and in a specific position of UI in C#

Anonymous
Not applicable

Hello , I am new to inventor, and am unable to get a suitable study material for creating add-in for inventor, that add-in should have an icon and should be positioned at a specific location of the UI panel of Inventor, and Add-in should perform the listing of occurrences of current assembly.

thank you.

0 Likes
Accepted solutions (2)
651 Views
7 Replies
Replies (7)
Message 2 of 8

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Hi @Anonymous 

You need the TargetcontrolName and than use Before or after true or false to place it before that control.

bradeneuropeArthur_0-1615676601084.png

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 3 of 8

Anonymous
Not applicable

I have tried and succeeded in placing the add-in tool tab of UI, I was also expecting some initiation code for listing down the occurrences of current assembly and pasting it in new folder in C#.

thank you.

0 Likes
Message 4 of 8

bradeneuropeArthur
Mentor
Mentor

Solved for so far than?

What do you mean with the second question?

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 8

Anonymous
Not applicable

Thanks for your response,

as I am unfamiliar with Autodesk queries, I have put my complete question below the heading about creating an Addin for listing down the occurrence of current assembly.

Thank you.

0 Likes
Message 6 of 8

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Hi @Anonymous 

In inventor there is a programming help file available that will help you a lot I think.

Help.png

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 7 of 8

Anonymous
Not applicable

I have been going through it a lot, but the issue is the codes are in VB.net not in C#.

thanks again, need some sample Add-in examples in C# so as to get familiar with Inventor's API programing, 

thanks and regards.

0 Likes
Message 8 of 8

bradeneuropeArthur
Mentor
Mentor

I don't know why but the most help files are based on either Vba or Vb.net, maybe it has to do because of the learning curve of Vba and Vb.net!

Why don't you start programming in Vb.net too?

 

Regards,

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes