Hi,
I am not sure the title is correct but what I have noticed is that I use several components and every time I have to change the properties.
Some are not a great deal but some are a bit more involved and once I have it right it would be nice to just copy them reducing the risk of error.
In my recent projects I am working through the network tutorial, every new project I have to change 14 parameters in the W5500.
I wondered if there could be an option when you right click on the component to load user defined settings for various components.
Just thinking, for this to be possible there would also need a "save properties" as well.
Regards,
Bob
Load Custom properties to components
-
RGV250
- Posts: 452
- http://meble-kuchenne.info.pl
- Joined: Sat Mar 19, 2022 4:53 pm
- Has thanked: 46 times
- Been thanked: 46 times
-
Steve-Matrix
- Matrix Staff
- Posts: 1896
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 278 times
- Been thanked: 445 times
Re: Load Custom properties to components
Thanks for the suggestion. It might be a challenge to implement this, but I will add it to our list and think how we can do it.
-
chipfryer27
- Valued Contributor
- Posts: 1999
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 434 times
- Been thanked: 651 times
Re: Load Custom properties to components
Hi
Could you not save a "template" of a very basic chart with your component configured? Maybe even just uC and component(s)?
Regards
Could you not save a "template" of a very basic chart with your component configured? Maybe even just uC and component(s)?
Regards
Re: Load Custom properties to components
Hi,
In this instance I am modifying examples that are already done so that is not possible (as far as I am aware) in this instance.
I do do a similar thing but opening a project and delete all the stuff I do not need and then work with that, I could save it as a blank starter project but I am sure there will something I miss.
For new projects the other way I have just thought about is if it is possible to alter the default settings so when you add a component it is already set up for your system. Only problem I can see there is when you do an update it will overwrite it.
Bob
In this instance I am modifying examples that are already done so that is not possible (as far as I am aware) in this instance.
I do do a similar thing but opening a project and delete all the stuff I do not need and then work with that, I could save it as a blank starter project but I am sure there will something I miss.
For new projects the other way I have just thought about is if it is possible to alter the default settings so when you add a component it is already set up for your system. Only problem I can see there is when you do an update it will overwrite it.
Bob
-
Steve-Matrix
- Matrix Staff
- Posts: 1896
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 278 times
- Been thanked: 445 times
Re: Load Custom properties to components
The other thing you could do is to edit the fcfx project file directly in a text editor.
Although if you choose to do this, make sure you keep a backup of your file and thoroughly test because manually editing the file could invalidate it and cause it to fail to load. Also, any editing should be done while the file is not open within Flowcode.
That said, you should be able to search for the section that needs changing and then replace it with the section from a project where you have already made the changes.
The section that needs replacing will be near the end of the file and will be the <values> tag of a <component>. You can search for the guid of the component that you wish to change to make sure it's the correct place. Just make sure only the section between the <values> ... </values> tags that gets replaced.
Although if you choose to do this, make sure you keep a backup of your file and thoroughly test because manually editing the file could invalidate it and cause it to fail to load. Also, any editing should be done while the file is not open within Flowcode.
That said, you should be able to search for the section that needs changing and then replace it with the section from a project where you have already made the changes.
The section that needs replacing will be near the end of the file and will be the <values> tag of a <component>. You can search for the guid of the component that you wish to change to make sure it's the correct place. Just make sure only the section between the <values> ... </values> tags that gets replaced.