>How can you pass command line parameters that are specific to a network's >operation into OpenDX? >I'm trying to parameterize a set of networks to be able to dynamically >limit the number of steps in a foreach. I would like to be able to >parameterize the start integer, end integer, and increment from a command >line. > >Thanks in advance. >j.b.
You haven't missed it cause it's not there...exactly. However, that said, consider this: you can write a script in "DX" (that's what all those syntax examples are littered through the User Reference Guide for each module). You can also execute a .net file as a script (dx -script foo.net). So nets are in fact scripts, but they have a hellacious amount of extra stuff only used by the UI to paint the program on your screen when you invoke the Visual Program Editor: scripts you write would not have nor need this junk. Ergo, you can obviously write a plain ol' DX script then parameterize it the same way you would any shell script (tending to pesky quotes appropriately). If, like most of us, you prefer to develop your net using the VPE, you could also hack on the saved net file (it's just text) with some complicated awk/perl/sed operations that find that part of the net at which the inputs to ForEach are set and modify them. Chris Pelkie Vice President/Scientific Visualization Producer Conceptual Reality Presentations, Inc. 30 West Meadow Drive Ithaca, NY 14850 [EMAIL PROTECTED]
