Search found 2 matches

by gonzaloalen
Fri Oct 18, 2019 2:59 pm
Forum: Mesh
Topic: GiD_AssignData only in one field
Replies: 1
Views: 6205

GiD_AssignData only in one field

Hello, I'm trying to assign a variable in a specific field, however, with this function I have to specify also a value for the other fields that I don't want to change. Here my code: set values [list SCS {0.0} {0.0} {0.0} $cn {0.0} {0.0} {0.0} {0.0} {0.0} {0.0} {0.0}] catch { GiD_AssignData conditio...
by gonzaloalen
Tue Oct 15, 2019 11:24 am
Forum: Mesh
Topic: AssignData Condition
Replies: 1
Views: 5597

AssignData Condition

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 o...