Negative point load

Moderator: GiD Team

Posts: 1
Joined: Tue Mar 13, 2018 2:27 pm

Negative point load

Postby AlbertGil_ » Tue Mar 13, 2018 3:35 pm


I want to define a negative point-load condition using a checkbox. Right now I have this:

QUESTION: X-eixos_GiD([0,1,0]_eixos_LEAM)#CB#(1,0)
QUESTION: Y-eixos_GiD([0,0,-1]_eixos_LEAM)#CB#(1,0)
Question: Z-eixos_GiD([-1,0,0]_eixos_LEAM)#CB#(1,0)
Value: 0

And, when I check the axes where I want the force, the calculation file shows a positive load on that point (e.g. " 218 0 1 0").

However, we want the load applied to axes Y and Z to be negative (i.e. "218 0 -1 0"). I have tried this code: "QUESTION: Y-eixos_GiD([0,0,-1]_eixos_LEAM)#CB#(-1,0) VALUE: 0", but then I got a droplist where we can choose between 0 and -1, I do not got a checkbox.

Even that this solution is ok, I would like to know if there's any way to create the negative point load using a checkbox (force=-1 when checked, force=0 when not checked).

Thanks for your help!
User avatar
Posts: 1608
Joined: Thu Sep 18, 2014 3:31 pm

Re: Negative point load

Postby escolano » Tue Mar 13, 2018 9:10 pm

In the .bas template file that writhe the output file you can check the value and print what you want
e.g. it these question are written in the .prb general data


Return to “Customization”

Who is online

Users browsing this forum: No registered users and 1 guest