Skip to main content
InSource Solutions

TN IT126 Archestra Symbols: Symbol Wizard Choice Groups

insource logo large.jpg

 

Description

Archestra Symbols now contain a wizard feature to create customizable graphics without requiring scripting.  This document will show how to use the Symbol Wizard's Option capability.

 

  • Author: Dillon Perera
  • Published: 04/21/2015
  • Applies to: InTouch with Application Server v2014; InTouch Modern Applications v2014R2

 

 

Details

The following example will create a tank symbol called MyTank with two input valves and two output valves.  In WindowMaker you will then be able to select how many of the inputs or outputs you would like to see.

 

  1. Create a new symbol called MyTank in the Graphic Toolbox, and open it for editing.
  2. Embed an existing tank graphic.  (This demo uses Archestra Symbol Library > Vessels> TankVertFill).
    1. Rename this element as TankBody.
  3. Embed an existing valve graphic, and duplicate it to create 4 total. (This demo uses Archestra Symbol Library > Valves> ValveDiaphragm).
    1. Rename two of the valves to InletTop and InletBottom.  Place these on the left of the tank.
    2. Rename the remaining two valves to OutletLeft and OutletRight.  Place these on the bottom of the tank.
    3. ​Your symbol should now look like this:
      SymbolWizards_ElementList.png
      SymbolWizards_GraphicPlacement.png
  4. Go to the Symbol Wizards panel.  If this is not shown, go to View> Symbol Wizard.
  5. Add two choice groups (folders), named NumberOfInlets and NumberOfOutlets.
    1. In the NumberOfInlets folder add three choices named None, 1Inlet, 2Inlets.
    2. In the NumberOfOutlets folder add three choices named None, 1Outlet, 2Outlets.
      SymbolWizards_ChoicesList.png
      When the symbol is finished, these are the choices that will be displayed in WindowMaker.
  6. Click on the Layers tab.
  7. You will see six layers, one for each choice.  Expand all of these layers so the Graphic Elements folders are shown.
  8. Drag from the Elements Pane the elements that should be visible when each option is selected.  
    For example, when the NumberOfInlets1Inlet option is selected, we only want the InletTop to be displayed, so this is the only graphic element we will drag to the Graphics Element folder.  When NumberOfInlets2Inets is selected, we want both to be shown, so InletTop and InletBottom will be dragged to that Graphic Elements folder.

    SymbolWizards_DragElementsToChoices.png
  9. Save and close the symbol.
  10. Add the symbol to an InTouch Window.  When you double click on the symbol, you will now see choices to select how many valves will be displayed.
    SymbolWizards_ChoicesInWindowMaker.png