Manage the value of variables in a part family

Hello

I created this question in connection with another of my posts (http://www.lynkoa.com/forum/import-export-formats-neutres/reconstruction-nouvelle-configuration) in which I explain my problem of the link between the part family and the global variables of the equation manager.

But here is another part of my problem : I was able to give values to my parameters in the "Equations" section of the manager through a family of parts thanks to the line $VALEUR@parameter_name@Equations. Now I would like to know if it was possible to directly change the value in the "Global Variables" rubric using the same type of syntax please?

Naively I tried $VALEUR@parameter_name@Global Variables, it doesn't work.

Thank you!

Hello

$VALEUR@test@Equations where test is the name of the global variable

1 Like

And by going through a personalized property instead?

2 Likes

Cyril.f yes that's what I did but as explained in my post it only changes in the "Equations" section in my case while what I have a problem with is the "Global Variables" section.

MaD, I've already been offered this solution but I don't prefer to use another tool (even if it's part of SW) because of my specifications.

1 Like

Uh, global variable is managed in the equation manager. Tested on 2014 it works so I don't see where the problem is.

1 Like

As you say Cyril.f "I don't see the problem" me neither, that's why I'm posting here because it doesn't work in my case.

1 Like

Mea culpa I read diagonally. So when I reread the other post, I wonder if the problem doesn't come from the family of parts as such.

Is there really the "specific to this configuration" icon in the equation manager that appears at the end of the input box?

Don't you have configuration groupings that are therefore driven by the parent (derived conf).

In my opinion, the mapping between part family and equations is only done in one direction so want to write a value of type $VALEUR.... In the equations form is not possible.

2 Likes

I've been following the post since the beginning, and surely there's a reason, but why not use the part custom properties pane to change the variables?

A good remark from Cyril.f, in your equations have you removed the reference of the configuration behind the name of the property or the dimension (name property/dimension@configue)? By doing this your equations apply to all configurations.

1 Like

Hello Gentlemen,

I apologize for the response time, but I searched all day yesterday to find compromises and solutions that did not stray too far from my specifications. So I ended up dividing my family of parts into three at first and then I decided to go only through the family of parts. 

Finally, I end up with variables defined in the manager whose values of some of them are driven in the family and the equations are in the manager. This gives me the most acceptable solution for my project, i.e., I manage the "most variable dimensions" from the family and the rest of the variables through the manager. And this leaves the possibility for the user to still control the variables thanks to the manager if he wants to redo a total design.

Soon I will create an application to make the link easier/faster with the variables.

Thank you all for your help because with our group reflections I was able to move forward !

So I'm closing this post by putting "I solved my problem myself" so that readers have a summary but it's thanks to you!

PS: a.leblanc the solution of the P.P. does not really correspond to what is asked of me and also I don't know how to use them but you are right during my project I will find out for the rest.

1 Like