Jump to content
Sign in to follow this  
Fedra853

parameters name when importing FLUX object

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Fedra853 likes this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...