hexagon logo

Custom code to reduce data entry

I wasn't sure to post this in the code section as I don't have code to share.

I'm absolutely NOT a coder nor do I want to learn anything but the basics, it just isn't my thing. However, I did learn enough python to cut data entry in half with our GOM software. I'm looking to get a few data entry fields removed in pcdmis now. Not critical, just one of those small improvements to make operator life better.

I've read that pcdmis code is 'BASIC' language based, and you can export this language somewhow. Then I've read it is written in C++ by a post by Neil and my head starts spinning. Can someone share how I export pcdmis command mode stuff into BASIC language export?

I see ASSIGN in pcdmis when I do a variable yet, in BASIC a variable is defined like so:

Dim item_number as String
item_number = "S-12345"


If I drop stuff like the above into pcdmis command mode is it going to understand it? Did I read correctly that is understands BASIC language. I don't feel like dealing with pulling Python programs into the dmis.

Thanks.

Parents
  • Hello,

    the answer to this question is simple: no, it doesn't work that way.
    why is something more complicated.

    The interface for data exchange or automation is in Basic and thats it.

    in "C++" or "Object Pascal" and probably also in "Phyton" you can include and use the pcDMIS-Basic-DLL. How this is done in the respective language would lead too far here.

    I strongly advise against writing scripts or automations for someone without understanding them yourself.

    (if you can explain to us exactly what you intend to do and if it's not too much, maybe someone will write it for you.)

    ########################

    * ASSIGN is a program-internal pcDMIS command that is only understood by this software within the Editwindow
    * if you write "basic" or "C++"-code in pc-dmis Editwindow, he will not understand this

    ########################

    if you still want to familiarize yourself with it, I recommend that you write an Excel macro that controls pcDMIS. something easy eg open a program.

    Excel macros are in basic, there are many examples online, if it works you can google how to translate it to python.
Reply
  • Hello,

    the answer to this question is simple: no, it doesn't work that way.
    why is something more complicated.

    The interface for data exchange or automation is in Basic and thats it.

    in "C++" or "Object Pascal" and probably also in "Phyton" you can include and use the pcDMIS-Basic-DLL. How this is done in the respective language would lead too far here.

    I strongly advise against writing scripts or automations for someone without understanding them yourself.

    (if you can explain to us exactly what you intend to do and if it's not too much, maybe someone will write it for you.)

    ########################

    * ASSIGN is a program-internal pcDMIS command that is only understood by this software within the Editwindow
    * if you write "basic" or "C++"-code in pc-dmis Editwindow, he will not understand this

    ########################

    if you still want to familiarize yourself with it, I recommend that you write an Excel macro that controls pcDMIS. something easy eg open a program.

    Excel macros are in basic, there are many examples online, if it works you can google how to translate it to python.
Children
No Data