Dynamic Button on Quick Access Toolbar

Dynamic Button on Quick Access Toolbar

ngdnam88
Advocate Advocate
1,764 Views
19 Replies
Message 1 of 20

Dynamic Button on Quick Access Toolbar

ngdnam88
Advocate
Advocate

Dears,

Happy New Year! to Everyone...

I'm trying to add a dynamic button in Quick Access Button as this Design Doctor Button. So when I open an item (Part/Assembly/Drawing) It'll checking something and return the result by visible/highlight button icon.

 

ngnam1988_0-1704096093297.png

I mean it'll working:
1. After opened an item (part/assembly/drawing...) button icon show a warning and show this icon

ngnam1988_1-1704096392527.png

2. If everything are fixed/nothing wrong it'll show this icon
 

ngnam1988_2-1704096518143.png

Please help me the guide how to do that. Thank you very much!

0 Likes
1,765 Views
19 Replies
Replies (19)
Message 2 of 20

bradeneuropeArthur
Mentor
Mentor

I can help you writing an add in...

You need to change the icon to achieve this.

Let me know if an add in is ok.

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 20

ngdnam88
Advocate
Advocate
Great!
I’m trying done it with my Add-in. Please, guide to me how to do it.
Thanks,
Message 4 of 20

bradeneuropeArthur
Mentor
Mentor

Could you send me the two different icons either per private message or via this forum?

And also the conditions for each icon. 

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 20

bradeneuropeArthur
Mentor
Mentor

I think you need something similar to this.

The button Green will get Red if the file is Dirtied and need a save.

The button Red will get Green again after save of the file.

Please watch the movie....

 

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 6 of 20

abdullah_elq
Advocate
Advocate
This looks pretty awesome. How did you program that?
Message 7 of 20

ngdnam88
Advocate
Advocate

Yes, I'm finding something like it, that can change button icon dynamic.
Thanks!

Message 8 of 20

ngdnam88
Advocate
Advocate

I can't send files direct from private message,

ngnam1988_0-1704150323727.png

 


Could you try with any icon that you have?
Thanks,

0 Likes
Message 9 of 20

bradeneuropeArthur
Mentor
Mentor

sure take a look at the MP4

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 10 of 20

bradeneuropeArthur
Mentor
Mentor
What are the conditions to change the Icon for your program.
What is the trigger to be wrong or right is the question.
I have programmed this with the "Dirty mark" Status at the moment for showing you.

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 11 of 20

abdullah_elq
Advocate
Advocate

My trigger would be whenever a new document of a particular part is created.

 

For example when a new sheet metal document is created, enable a particular button. The button should be disabled in all other documents (including old sheet metal documents).

0 Likes
Message 12 of 20

bradeneuropeArthur
Mentor
Mentor

Means:

Only If a new sheet-metal part file is created the button must be Green.

For all other parts it must be Red, Include old (non new) sheet metal parts.

For non new parts the button must also be Green.

Is this correct?

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 13 of 20

abdullah_elq
Advocate
Advocate
Yup! I'll be very grateful if you can show me how to do that.
0 Likes
Message 14 of 20

ngdnam88
Advocate
Advocate

Dear @bradeneuropeArthur ,

I wanna it check something as the template when item opened. Ex: List of users parameter/kind of item; Dim overrides in drawing; Scale that used of all views are in Standard?... After checked/fixed and saved it'll return done icon.

Maybe I'll have some idea, but at the moment  I wanna got solution to change icon as your video shown.

Thanks!

0 Likes
Message 15 of 20

ngdnam88
Advocate
Advocate

Hi @bradeneuropeArthur 
Could you please help us to share the code that can change the icon as your video?
I'll try to do the conditions to change the icon by myself.

Thank you very much!

0 Likes
Message 16 of 20

bradeneuropeArthur
Mentor
Mentor

@ngdnam88 

I have send you  a PM with some additional questions.

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 17 of 20

bradeneuropeArthur
Mentor
Mentor

@abdullah_elq wrote:
This looks pretty awesome. How did you program that?

Do you also need support same as @ngdnam88 does?

 

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 18 of 20

abdullah_elq
Advocate
Advocate

Yes please

0 Likes
Message 19 of 20

ngdnam88
Advocate
Advocate

Hi @bradeneuropeArthur 
I can control enable/disable buttons (enable after something is checked)  - but can't change them as your shown.

-Quick Access Toolbar

ngnam1988_0-1705917202675.png

-Ribbon Tabs

ngnam1988_1-1705917220517.png

Could you guide to me how to do it? Thanks,

0 Likes
Message 20 of 20

bradeneuropeArthur
Mentor
Mentor

@ngdnam88

I have asked/send you a while ago per message if you can send me the content of your add-in file.

Did not get a reply from you.

If I have that I can update and you can paste it in your code.

 

Please see your message...

 

Regards,

 

Arthur

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