Previous Next        Current Page: NeXtMidas Training / Option Trees / Creating an Option Tree / Using OPTION
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
Option Trees   
   + Overview   
   + Using an Option Tree   
   + Lab 1   
   - Creating an Option Tree   
      - Using OPTION   
      - The Manual Way   
   + Command Dictionary   
   + Building an Option Tree   
   + Lab 2   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
Applets & WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • The OPTION command:
    • The OPTION command provides an easy way to create a simple option tree with the default directory structure. The easiest way to do this is :
      1. Choose a name for the option tree.
      2. Choose a directory for the option tree to be placed in (if the directory does not exist it will be created automatically).
      3. Use the /CREATE feature of the OPTION command to create (just the first time) the default directories and include a template command dictionary:
        nM> option/create <name> <path to option tree>
        For example:
        nM> option/create myopt /home/smith/myopt123/nxm/myopt
      4. NOTE: Subsequent times, you will define your option tree WITHOUT the /create switch, e.g.
        nM> option myopt /home/smith/myopt123/nxm/myopt
    • For other methods of creating an option tree using the OPTION command please see the OPTION explain file.