[pdp-discuss] ScriptPrjnSpec

Richard Jones dickjr at gmail.com
Thu Nov 16 10:05:41 MST 2006


I've created a ScriptPrjnSpec and written a .css script for it.  In
the ScriptPrjnSpec editor I can point to the file, load the script,
compile it, associate my projection with the 'prjn' variable, and run
it in Interact mode.  All my connection patterns and weights show up
properly in my NetViewer.

However, via Interact mode is the only way I've successfully gotten it
to run.  When I do a 'Connect All' from the NetViewer the connections
disappear, and it doesn't look as if the script is run at all, even
though in the debugger I see it dive into the RunScript() from
ScriptPrjnSpec::Connect_impl(...).

My script has the form:

  void MakeProjection() {
  ...
  }

  MakeProjection();

How do I get the script to run properly from 'Connect All'?   Thanks.

-- 
Richard Jones
dickjr at gmail.com


More information about the PDP-Discuss mailing list