hexagon logo

Importing & executing a PC-DMIS part program file

Hello there,

I have a program called " Inspect My Cutter". This program previously generated and output a file containing (uncompiled) Tutor language which I then ran on WTutor to inspect various cutters.

I am now in the process of changing over to using PC-DMIS CAD++. I *do not* want to import a tutor file directly into PC-DMIS CAD++, nore do I want to use the tutor translator.

Instead, I have made " Inspect My Cutter" to now generate a file containing the readable (uncompiled) PC-DMIS part program for inspecting my cutters.

Is there a way of getting PC-DMIS CADD++ to import this PC-DMIS part program file directly and execute it? I want to avoid cutting and pasting into the code editor every time.

Thank-you, Michelle
  • Hello there,

    I have a program called " Inspect My Cutter". This program previously generated and output a file containing (uncompiled) Tutor language which I then ran on WTutor to inspect various cutters.

    I am now in the process of changing over to using PC-DMIS CAD++. I *do not* want to import a tutor file directly into PC-DMIS CAD++, nore do I want to use the tutor translator.

    Instead, I have made " Inspect My Cutter" to now generate a file containing the readable (uncompiled) PC-DMIS part program for inspecting my cutters.

    Is there a way of getting PC-DMIS CADD++ to import this PC-DMIS part program file directly and execute it? I want to avoid cutting and pasting into the code editor every time.

    Thank-you, Michelle


    you can stick the program in a subroutine folder and call it up from any part program you are using at the time by inserting a callsub command.
    CS1 =CALLSUB/???????,C:\PARTS\SUBROUTINES\????????????????.PRG
  • Hi Pwhitsa, Thanks for your reply. I'm afraid I'm a bit in the dark when it comes to your suggestion... I posted again around this here: Parametric Programming in PCDMIS - general outline & tools?

    do you perhaps have any resources / links / information around programming in PCDMIS? The help manuals which I have (core_4.4 and cmm_4.4) don't seem to contain much on this at all.
  • Michelle, go to the tips and tricks section of the forum and look at the section on VB (visual basic). This should give you an insight into basic coding inside pcdmis. Alternatively you can search the forum for vb code examples. The forum has a section with code examples in it. Wilcox also has a custom script storage area.