Hello list,
In a geometry dx file, geo1.dx, I have at the bottom
.
.
.
object "mesh" class field
component "positions" value 1
component "connections" value 2
component "data" value 3
In a second file say temperature1.dx I have
.
.
.
object "temperature" class field
component "positions" value file "geo1.dx",1
component "connections" value file "geo1.dx",2
component "data" "temperature data"
This works fine; that is I can write a view program
to read the file temperature1.dx and display the
temperature field. The mesh is read from the file geo1.dx
as directed by the temperature1.dx.
I would like to have a scheme where I do not use numbers to refer
to objects in the geo1.dx file. So I created the file
geo2.dx with the modification
.
.
.
object "mesh" class field
component "positions" "np"
component "connections" "nc"
component "data" value 3
With the corresponding modification in the file temperature2.dx
.
.
.
object "temperature" class field
component "positions" file "geo2.dx","nc"
component "connections" file "geo2.dx","np"
component "data" "temperature data"
If I run the same view program in file temperature2.dx I get
the error
ERROR:Import: Invalid data:'positions' is not an array ('dep' attribute of
'data'
component) / file temperature2.dx line x
> (this is the line component "positions" file "geo2.dx","nc" above)
Is there a way to reference data in another file by name rather than value?
Thanks for any inputs.
--
Valmor