You can pass a list of strings to SelectorList, Selector, etc. A common approach is to read metadata, generate the list, populate the interactor, which the user then uses to make choices. This could be done dynamically (i.e., the use chooses a data set first and changes it while interacting). When you save the network, the last list will be saved.
"Risner, Joel" <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 02/14/2002 04:46:52 PM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: "'[email protected]'" <[email protected]> cc: Subject: [opendx-users] Creating a selector list I have a DX network which plots, among other items, a geometry model which consists of an XYZ data set with connection dependent values for each cell. Those values can be thought of as material assignments for each cell in the model. I construct tje geometry plots using the ShowBoundary module followed by Color using a color map which assigns colors to each 'material'. I also use an IntegerList module in conjunction with an Include module to choose which materials should be included in or excluded from the plot. (This step precedes the ShowBoundary and Color modules.) At the present time, I construct the IntegerList 'manually' based on what I know about the geometry model. I would like to improve this process in the following way: 1) I'd like to 'query' the geometry data file (which contains the material assignment by cell) and generate a list of all the composition numbers that are used. 2) Rather than construct the IntegerList manually, I'd like to use the information from Step 1 to automatically create a SelectorList so that I can toggle materials on or off. This is probably a trivial issue for many DX users, but I'm afraid I've tended to focus on the computational aspects of my network and less on the 'user interface' area. Thanks in advance for any help. Joel Risner [EMAIL PROTECTED]
