parameters name when importing FLUX object
Hi!
When you import a FLUX object in your project, if there are common parameters, with the same name, the software automatically changes the name of one, adding suffix '001'. For example: I have the parameter <H = 5> in my 'toimport.FLU' project, and the same <H = 5> in my 'main.FLU' project. When I import 'toimport.FLU' in 'main.FLU' he automatically create the parameters <H = 5> and <H001 = 5>. There is a way to not let FLUX doing this? i'd like to have only one parameter <H=5> for all the project.
Grazie!
Answers
-
In this case I think we need to create a macro because in Flux we don’t have any function that allows us to do this.
Best regards.
0 -
Thanks for the help! I had the same idea, so I tried building some macro and python command. The obstacle was in every attempts to have 2 parameters with the same name. There is a way to pass it?
Grazie!
0 -
When you yhave two parameters with same name, you try to pût oneparemter in the other. I means by this when you edit the second parameter you will find the value of the first paremter. than if you need to change the value, you change just the value of the first parmeter
0 -
I faced the same problem many years ago and I tried to solve it but could not really.
I was working with regexp to look for pattern at the end of the name of parameters and this is quite easy to manage.
The problem thought is then that you need to move all the elements that use H001 to use instead H and this can be cumbersome if you use the parameters in a lot of different things.
I never thought of the solution proposed by the support (giving the value of H to H001), but this is in fact easier to achieve. The drawback is that you cannot delete H001 (still) so with many parameters and a lot of flux object, you end up with a mess.
However, to make life easier and the system cleaner when you import a flux object, there should be a way of saying that if parameters have the same name and value they should be merged and not duplicated, imho.
0