Sorry if you are tired of reading about this.
The method suggested by Chirs worked on my PC. However, when I transferred
the network (test.net) on an SGI, I got only the first point. I had
another network that displayed 4 datasets as opposed to the one dataset in
test.net and created the same pick and store modules. In this case, the
first point and the last point - none of the points in-between were saved.
Does the GetGlobal and SetGlobal work differently on a PC with WinNT and
on an SGI?
Regards,
Gerry
At 07:43 AM 8/29/2001 -0400, you wrote:
This works. In the main net, not in a macro:
Pick -> Extract("positions")->List(input 1)->Print("rd")
Simultaneously, GetGlobal->List(input 0) and GetGlobal(link)->SetGlobal(link)
Simultaneously, Link->SetGlobal(object)
Execute on Change and start clicking. Watch the Message Window.
Forget about appending to a file, just overwrite it each time with the new
longer list.
The concept of "Global" is that state is retained between executions, so
don't use it inside a macro until you understand how this violates the
data flow concept. Use the "Local" variants inside macros. However, since
state is not retained in Local's in macros, you can't accumulate a list
with outputs from outside. Thus your dilemma (until now).
Tobias: in over 10 years of using DX almost every day on hundreds of
diverse projects, I've needed to write exactly 5 modules. Beginners should
instead spend their time grasping the data model (they'd need to do that
to write a module anyway), then exploring the depth of the Structuring
category. Saves a lot of time. Modules are needed for some intensely
complex calculations and device drivers, but almost everything else is
better solved in the UI: more maintainable and distributable. Most people
that have slaved over C code or MatLab scripts or whatever are totally
stunned by what one of us DX weenies can accomplish in 10 minutes with
standard modules. (:-)
Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]