AssignData Condition
Posted: Tue Oct 15, 2019 11:24 am
Hello,
I'm trying to assign conditions to entities, through Tcl code, with a command as follows:
set cn_elem 45
GiD_AssignData condition Losses_Model body_elements {0 0 0 0 $cn_elem 0 0 0 0 0 0 0 0} all
However Gid assigns a value "$cn_elem" in the condition (not 45), which is the sintax of the GiD Proccess command to assign a condition with a variable?
Thank you in advance,
Gonzalo
I'm trying to assign conditions to entities, through Tcl code, with a command as follows:
set cn_elem 45
GiD_AssignData condition Losses_Model body_elements {0 0 0 0 $cn_elem 0 0 0 0 0 0 0 0} all
However Gid assigns a value "$cn_elem" in the condition (not 45), which is the sintax of the GiD Proccess command to assign a condition with a variable?
Thank you in advance,
Gonzalo