Using a variable created in a GUI
Hey guys,
I've created a GUI where the user can choose if he wants to apply a pressure load in x-, y- or z-direction by clicking on a button. By clicking on one of the buttons, a variable called 'vector' will be created.
This variable should later be used in the command that creates the load.
Trying to select this variable with $vector on the position that is marked in yellow in the end of the screenshot, nothing happens.
Could you somehow help me out with this problem?
Kind regards
Simon
Answers
-
Use {*}$vector to expand that list
Why don't you use hm_getdirectionpanel?
0 -
I modified my code this the way you told me to,, but somehow there's still an error occurring.
This is the relevant part of my code:
The variable 'direction' is created, this is the output in the command window:
Do you have an idea what's still wrong?
Thanks in advance,
Simon
0 -
Thanks guys, I've solved the problem on my own:)
0