🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Using a variable created in a GUI

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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.

476678879_WhatsAppImage2019-01-09at20_00_33.jpeg.2f4e942ced8c6e2f6a30c9a6fc9849a5.jpeg

 

Could you somehow help me out with this problem?

 

 

Kind regards

Simon

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Use {*}$vector to expand that list

     

    Why don't you use hm_getdirectionpanel?

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    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:

    image.png.09c51b4149448a3c6625ee9ec1ace06a.png

    The variable 'direction' is created, this is the output in the command window:

    image.png.3d816a50f4d5142f0bb44ac2f4457228.png

    Do you have an idea what's still wrong?

     

    Thanks in advance,

    Simon

     

     

     

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Thanks guys, I've solved the problem on my own:)