hexagon logo

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!!
Parents
  • 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
Reply
  • 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
Children
No Data