Tuesday, July 26, 2016

Clone an Existing EIM using MethodTool

  1. Load the EIM to be cloned
    • Set MethodTool>Edit>Test Methods>External Interface
    • Click "External Interface" button and "Find enVision Object" dialog box will appear and shows a list of ExternalInterface to choose. 
    • Select The ExternalInterface to clone and press OK.
    • The text box beside "ExternalInterface" button now displays the name of the EIM you selected
    • The "Method Directory" now displays the path of the source code for the loaded EIM
    • All the member functions and variables defined or added into this EIM are also displayed 
  2. Clone the loaded EIM 
    • Set MethodTool>File>Clone...
    • in "Select Clone Directory" popup
      • set name of cloned EIM in text box beside "ExternalInterface"
      • set directory where the cloned EIM will be stored in text box beside "Method Directory:"
        • make sure to specify the folder where the source code and binaries will be stored
      • Click OK 
        • If a new folder is specified, it will be created 
        • mid, tmk, cxx, and hxx files will be created and are copies of the EIM that is cloned
        • the newly created cloned EIM is automatically compiled and DNT/FX1 folder with evso is created after successful build 
  3. Update sources
    • You can now make changes to the source code of the clone EIM

    No comments:

    Post a Comment