This is a simple question; however, there is not a simple answer. In
order for DX to know what portions of your file to import, you need
to import it first. There is a chicken and egg problem here. What
you're looking for is a DX object header parser that could then be
used to generate a list of field names or component names and as far
as I know, no such standard module exists. That doesn't mean it
wouldn't be fairly easy to develop one--just that it doesn't
currently exist.
David
Hi,
I have what I hope will be a simple question. I have constructed a .dx
file which describes data stored in another file for a MHD simulation
code. I have a number of objects such as density, pressure, etc. and at
the end of the .dx file collect them into a group. I'm finding, however,
that the group and size of the simulation are tasking the amount of memory
I have available. Is it possible to extract the names of the objects in
the .dx file for use in a selector so that I only import one object at a
time and can purge them as necessary?
for example:
object "Mass Density" class field
component "positions" value 1
component "connections" value 2
component "data" value 3
object "Gas Pressure" class field
component "positions" value 1
component "connections" value 2
component "data" value 4
... snip ...
object "Data File" class group
member "Density" value "Mass Density"
member "Pressure" value "Gas Pressure"
member "Vx" value "X-Velocity"
member "Vy" value "Y-Velocity"
member "Vz" value "Z-Velocity"
member "Bx" value "X-Bfield"
member "By" value "Y-Bfield"
member "Bz" value "Z-Bfield"
member "Radiation" value "Energy Loss"
Thanks!
Tom
--
.............................................................................
David L. Thompson The University of Montana
mailto:[EMAIL PROTECTED] Computer Science Department
http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812
Work Phone : (406)257-8530