Unfortunately, in the current version of SCIRun, subnets do not work as intended (i.e. as reusable user-created functional blocks). In the Windows version, there are known bugs even beyond what you're experiencing in Mac OSX. SCIRun is transitioning to a more modern user interface and the plan is, by the end of that process, to make subnets work in a more user-friendly and intuitive way.
All of that said, subnets still "work"... in the following sense: you can select a subset of the modules in a network, right-click on one of them, and choose to create a subnet from the selected set. If you save the network in that state, it will keep the subnet in the larger network. In addition, you can save the subnet as its own network file.
When you want to insert a subnet into a network, one would expect there to be an "Insert as Subnet..." option under the "File" menu that does this, but there isn't. Instead, one has to use "Insert..." to insert the saved subnet's contents into the current network. For organizational purposes, you can group these newly inserted modules as a subnet again, repeating the process of inserting and grouping for every copy of the subnet you need.
This is awkward, admittedly, but may still be of some use. If you let us know how you plan to use subnets, or would plan to use subnets if they worked as desired, then we could try to take this into consideration when the developers in charge of the user interface transition are fixing the relevant functionality.
Regards,
Burak Erem
On Wed, Mar 7, 2012 at 11:57 PM, Peter Johnston
<p.johnston@griffith.edu.au> wrote:
Hi All,
I just created a subnet in SCIRun (version 4.4 under macos
10.7), which
was automatically placed in my ~/SCIRun/Subnets directory. I
take it from reading the
manuals that this subnet should now be available to place into
another network
under the subnets menu item in the network editor - but it
isn't. I have restarted
SCIRun, but this changes nothing. Am I missing something? Should
I have a
particular environment variable set in .scirunrc? I do have the
following set:
SCIRUN_NET_DIR=/Users/peter/SCIRun/Subnets
but does not seem to help.
Any pointers would be much appreciated.
Kind regards,
Peter.
--
-------------------------------------------------------------------------
Assoc. Prof. Peter Johnston
Associate Professor in Applied Mathematics Phone (07) 3735 7748
School of Biomolecular and Physical Science Fax (07) 3735 7773
Griffith University
Nathan
Queensland 4111
AUSTRALIA