Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Icon Customization for external iLogic rule ribbon Button

Icon Customization for external iLogic rule ribbon Button

In Inventor 2023 we finally got ability to setup ribbon buttons for our external iLogic rules (Thanks a lot!)

Yet, such buttons is hard to distinguish with "Text Off" mode active (because of standard "iLogic script" icon is used for all such buttons). This seems a step back comparing to icon customization logics that is already released for external rules within iLogic panel*.

 

I'd rather say we need support of the same icon-customization logics for the above-mentioned buttons.

 

*

Quotation from "To Work with Rules in iLogic" Help-subclause:

"To create an icon for an external rule that appears in the iLogic browser, create a BMP or PNG file (size 16 x 16 is recommended) with the same name as the rule file, in the same folder. Restart Autodesk Inventor to display the icon."

7 Comments
Maxim-CADman77
Advisor

BTW, It seems that Inventor badly needs some improvement regarding processing of transparency-containing icons of custom Add-In button within Dark Theme.

I've discovered that PNG used as icon for Add-In Button looks blurry while it looks just nice when used as icon for iLogic Rule:

Icon-Issue_(Add-In-vs-iLogic).jpg

PS: Using solid dark-gray (ribbon) icon background don't seem to be a solution as it doesn't support MouseHover-interactivity (background of standard buttons changes to Black).


PPS: I've also tried "Button Constructor" (subject-related Add-In by 
@JelteDeJong) but got the same "blurry" result.

 

UPDATE: I do get better result with using ICO instead of PNG:
Screenshot 2022-10-16 123037.jpg

Screenshot 2022-10-16 124324.jpg

Curtis_Waguespack
Consultant

 

To create a custom icon for your iLogic Ribbon button:

  • Create a *.png file that is 16x16 pixels or 32x32 pixels
  • Place this image file in the same folder as the Rule resides in
  • Format the name to be as such:
    • <Name of the iLogic Rule or Form> . <light or dark> . <small or large> .png

 

Example:

iLogic rule name:  Create PDF

iLogic rule button image name: Create PDF.light.small.png

 

Restart Inventor if needed.

 

 

see related link:

https://forums.autodesk.com/t5/inventor-forum/inventor-2023-ilogic-rules-and-forms-on-ribbon/m-p/110...

 

  

Maxim-CADman77
Advisor

Wow!
This works but with one small remark: Inventor seems to turn White (255,255,255) and Almost-White (ex. 254,254,254) backgrounds to transparent (which may give undesired result within Dark theme). I used to workaround this by using another color (253,253,253) for White background.

@Curtis_Waguespack  thank you and @mathijs.stevens !

 
PS:
How am I supposed to archive "my idea"?

Curtis_Waguespack
Consultant

@Maxim-CADman77 

 

I don't think we can do so, but someone from Autodesk looks at the ideas from time to time and will archive them as needed at that time, I wouldn't worry about it in the mean time.

 

 

Maxim-CADman77
Advisor

@James_Willo 

Could you, please, initiate/force adding corresponding info to Inventor 2023 online help?
Thank you in advance.

Could you please disable the function mentioned by @Maxim-CADman77 that makes white pixels transparent? It took me 3 darkening passes to make my icon look OK (without holes) and it's really annoying. If someone wants to have transparent background let them use the alpha channel of PNG and if some wants to use white background just let them have it.

f_calebh
Advocate

@Maxim-CADman77 

How did you get the .ico files to work for the dark theme issue? I'm using 2024 and can only get the png files to work.

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

Submit Idea  

Autodesk Design & Make Report