How to change decal color or update many decals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to find a way to quickly change the color of many decals in my design at once. I have many objects/components (keycaps, like on your keyboard, to be specific), each with a separate, unique decal. I'd like to be able to change the color of every one of these decals at once, and I can't seem to find a solution to that problem.
My current solution was the following:
- Apply decals to object in fusion
- Change color of decal source .png file as desired (i.e., change the image file outside of fusion)
- In fusion, turn decal off, then off again, to apply color change.
This worked until I closed the design and reopened it. Now turning the decal off and on again doesn't effect the color change, it just retains the original color. This is clearly because the decal image is cached or something somewhere.
Can someone tell me how to reset this? Like how to force an update of all decals? Or how to delete this cache or whatever?
The other option is writing a python script. Could someone advise me on how to do this? I know python, but am unfamiliar with the Fusion API. Here's what I would like the script to do:
- Find every decal in the design
- Replace decal image with new image of the same name from a specified folder
That's all really. I.e., right clicking on the decal and clicking "replace image file" works fine. I just need a script that does it automatically and for every decal in the design.
Thanks. Please let me know if I need to clarify anything. Happy to provide additional information.