you can do this. It should look something like this object 0 class array type float...... (the "positions") object 1 class array type float.... (the first "data") object 2 class array type float... (the second "data") object 3 class field component "positions" value 0 component "data" value 1 object 4 class field component "positions" value 1 component "data" value 3
now if you just leave it like this, by default you're going to get the last field imported. If you want to be able to import both of them there are two ways to do it. The first is to continue adding to the above the following: object 5 class group member 0 value 3 member 1 value 4 This will import the last thing in the file, which is now the group. you can use Select in the visual program to separate them. Alternatively, you can give the fields names (instead of "object 3" for example, write object "field1") then import them by name as the "variable" input in Import). Look at some of the .dx files in samples/data. _________________________________ Donna L. Gresh Visual Analysis Group IBM T.J. Watson Research Center (914) 784-5049 [EMAIL PROTECTED] Xiaowen Wang <[EMAIL PROTECTED]> on 11/08/99 03:49:54 PM Please respond to [email protected] To: [email protected] cc: Subject: [opendx-users] more than one field in a dx file Hi: I'm a new user of DX. I tried to put two fields, which have different "data" components and are refering to the same "positions" and "connections" components, into one dx file. But it seems not working. I have to put these 2 fields specification to seperate files. I didn't find the user guide mentions this point, does it? Thanks Xiaowen
