Previous Next        Current Page: NeXtMidas Training / Option Trees / Creating an Option Tree / The Manual Way
back
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   
WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • The Manual Way:
    • Often it is easiest to create an option tree manually. This provides more flexibility than is available with OPTION/CREATE.
      1. Make the directory structure required. It may look like this:
        /home/student/myopt123
          +- nxm
              +- myopt
                   +- cfg
                   +- prim
                   +- mcr
                   +-  :
        You do not need to include any directories you don't intend to use.
      2. Copy the template commands.cnf file from $NMROOT/nxm/sys/cfg/commands.template and place it in the cfg area of your new option tree.
      3. Use the OPTION command to tell NeXtMidas where the option tree is located.
        nM> option myopt /home/student/myopt123/nxm/myopt
      4. That's it.

back