Execute commands from .bas

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Execute commands from .bas

    Hi to all,

    This is my first post!

    Quick question, Is possible to run pcdmis operations as moves, directly from .bas?

    I mean, to performance operations from a .bas file, whith out add pcdmis code on active part program, only run from it.

    How ll’be an exaple of the .bas code?


    Thanks a lot!!

  • #2
    If I do understand well, You would like to write program on PC-DMIS then export to script, then run it on CMM. Why you need complicated way to do job if result will be the same?

    Comment


    • Cesar
      Cesar commented
      Editing a comment
      Thanks Darius11.

      If I do the way that you say. When the script is executing also the code is writing in edit window.

      So, I need that the code not apear in edit window, only execute the operations.

  • #3
    https://www.pcdmisforum.com/forum/pc...creating-icons

    Same principal here, but again why?

    Comment


    • #4
      Hi,

      "If I do the way that you say. When the script is executing also the code is writing in edit window.
      So, I need that the code not apear in edit window, only execute the operations."

      If I do understand well, you do want execute script but not to see text of script in time of execution. If yes then, step by step you can:

      1.Download/create .ico (icon) file
      2.Go to Pc -dmis click right mouse button on any toolbar and choose "CUSTOMIZE...."
      3.Then go to "TOOLBARS"
      4.Click on "NEW" then choose "ITEM"
      5. On opened "custom wizard/script/tool" menu, in "command file:" line click on "..." and go to script. Make sure that you marked "basic script(*.bas)". Then mark script and click open.
      6. On same "custom wizard/script/tool" menu click on change icon, and open your downloaded/created icon (.ico)
      7. Go back to same "customize" menu, click on "used defined commands", find your Icon and add to "toolbar" to which you want
      8. When Icon will appear in menu where you want, just click on Icon and script will be executed.

      If I did understand you not so well then at this level of information I can't help.

      Regards

      Comment


      • #5
        No - you need to add the commands, execute them, then delete them when you're done (or quit the program instead of closing it)
        Automettech - Automated Metrology Technology

        Comment

        Related Topics

        Collapse

        Working...
        X