Are there any returns in the tabbed sequential array or is it one gigantic string? No problem from DX's point of view to include returns ad lib in your data array; they are ignored like all whitespace, but may prevent the long line problem.
The declaration looks fine.
Or switch to binary (put the data in its own file and use "data file x.bin,0" instead of 'data follows').

On Monday, Apr 26, 2004, at 14:20 America/New_York, Wheelock Adrian T CIv AFRL/VSBXR wrote:

Hello,

I am getting an error often, but not exclusively, when I try to import 3-D unstructured data from a .dx file. I specify positions, connections, and data on the nodes, and in generating the field at the end, the line

component "data" value 3

gives an error of "Invaid data: bad object number or name for component / file 'filename.dx' line ## / line too long"

I can compare my file to the example and it seems identical; the data object is declared with:

object 3 class array type float rank 0 items ## data follows

And the data is stored in a tabbed sequential array. Some datafiles I generate work just fine, others give me this error no matter what I do. Any suggestions?

Adrian Wheelock




Reply via email to