[GiDlist] new feature in DEPENDENCIES field (experimental)

Moderator: GiD Team

Post Reply
Jorge Suit Perez Ronda

[GiDlist] new feature in DEPENDENCIES field (experimental)

Post by Jorge Suit Perez Ronda »

As we have received some request about accessing to properties field
of other windows (not only local field) using DEPENDENCIES, here we
announce an experimental feature implemented in GiD (7.1 and above).

Now is able to reference fields of other window using what we call
'global field reference'. A global reference is a field cualified with
the 'data set' where it belongs. The data set are, for now: CONDITIONS
and PROBLEM DATA.


-Referencing CONDITIONS:

A global reference to this data set is conditions.cndname.field or
cndname.field if we are referencing from one condition to another.

- Referencing PROBLEM DATA:

A global reference to this data set is gendata.field

- An example.

Here is an example (the problemtype is also attached):

NUMBER: 1 CONDITION: Load
CONDTYPE: over points
CONDMESHTYPE: over nodes
QUESTION: Fx
VALUE: 0
QUESTION: Fy
VALUE: 0
QUESTION: Fz
VALUE: 0
QUESTION: Field_1
VALUE: 1
QUESTION: Field_2
VALUE: 2
END CONDITION


PROBLEM DATA
QUESTION: STATE_Field1:#CB#(NORMAL,DISABLED,HIDDEN)
VALUE: NORMAL
DEPENDENCIES: (NORMAL,RESTORE,Conditions.Load.Field_1,1)
DEPENDENCIES: (DISABLED,SET,Conditions.Load.Field_1,1)
DEPENDENCIES: (HIDDEN,HIDE,Conditions.Load.Field_1,1)
QUESTION: STATE_Field2:#CB#(NORMAL,DISABLED,HIDDEN)
VALUE: NORMAL
DEPENDENCIES: (NORMAL,RESTORE,Conditions.Load.Field_2,2)
DEPENDENCIES: (DISABLED,SET,Conditions.Load.Field_2,2)
DEPENDENCIES: (HIDDEN,HIDE,Conditions.Load.Field_2,2)
END PROBLEM DATA

Finaly we remind that this is an experimental and not documented feature.

best regards,

Jorge Suit.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020926/b8e6d65b/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: depend.gid-2.tgz
Type: application/octet-stream
Size: 427 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020926/b8e6d65b/attachment.obj
Post Reply