Hi,
I'm new to openDX, and i'd been trying to readapt a data file with
represents a 200x50 regular grid of floats arranged as a file of
#i-coord(int) data1(float) data2(float)
1 0.3532 0.5454
2 0.42433 0.64343
..... 200 other data items as these, then a empty line and another (block,
record, how you call it?) of 200 data items more, and there are 50 of the
blocks/records.
So, i did a parse that simply write this to a .dx file:
object 1 class gridpositions counts 200 50
origin 0 0
delta 1 0
delta 0 1
object 2 class gridconnections counts 200 50
attribute "element type" string "quads"
attribute "ref" string "positions"
object 3 class array type float rank 0 items 10000 data follows
[and here goes all the 200x50=10000 data1 items which i want to plot,and i
have another file for the data2 items]
object "Sigma DX file" class field
component "positions" value 1
component "connections" value 2
component "data" value 3
end
then i import as a dx data format, but when "test import" it gives problems
reading the data items (in a near-the-middle of the data block line)
it's there something obvious i'm doing wrong?
-Charlls
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com