Change appearance of same components macro's

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
MJU20
Posts: 349
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 99 times
Been thanked: 69 times

Flowcode v10 Change appearance of same components macro's

Post by MJU20 »

I have an FC10 chart with a lot of different components.

I know that I can change the appearance of a component macro in an FC10 chart (e.g., change its color), but is there a way to set the color (or appearance) of all similar macros?

For example, if I change the appearance of a macro (let's say a user macro call) to a certain style, I would like to apply this change throughout the whole chart to all similar macros.

This could be implemented with a checkbox in the "change color" option, like "change all same macros." (and all future similar macro's)

Maybe as a starting point, it could only apply to macros of the same component type, such as all macros for a display, for example.

Steve-Matrix
Matrix Staff
Posts: 1509
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 211 times
Been thanked: 350 times

Re: Change appearance of same components macro's

Post by Steve-Matrix »

Thanks for the suggestion.

You can actually do this fairly easily right now because you can set the colour of the flowchart icons from search results. So you can right-click a component and select "list occurrences", then select all the call macro icons in the search result and select "set colour".

MJU20
Posts: 349
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 99 times
Been thanked: 69 times

Re: Change appearance of same components macro's

Post by MJU20 »

Thank you, Steve,

I understand that I can find a list of occurrences by clicking on a variable, a component macro, or even a specific macro call.

However, it would be really useful to set an appearance for a certain component or even a specific macro call right from the start.

For example, let's say I begin a project with a display, a PWM, and a LED array, and I place these on the 2D panel. I want to ensure that the macros for the display are visually distinct from the macros for the PWM and the LED array.

What I envision is the ability to assign an appearance at the very beginning of the project. Everything added to the project that relates to the display would then automatically inherit this appearance.

So, after adding the display, I would click on a macro call, edit its appearance, and check a box labeled something like "Use this appearance for this component." Even if I later add another component that interacts with the display, it would automatically inherit this specific appearance.

Something like this:
Attachments
appearance.png
appearance.png (53.02 KiB) Viewed 3833 times

Steve-Matrix
Matrix Staff
Posts: 1509
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 211 times
Been thanked: 350 times

Re: Change appearance of same components macro's

Post by Steve-Matrix »

Thanks for the further thoughts. I like the idea, but I'm worried about some of the details in implementation. For example, what happens when a call component macro icon is coloured for the LCD, but then changed to call a macro in another component. Should the colour automatically change? Keep the existing colour? There will be lots of odd details like this that could cause issues.

I will add it to our list though, and think about if there is a way to make work intuitively in all cases.

Post Reply