hexagon logo

Help with OLE Automation

Now that I have information in a way that imports and exports the information correctly, I have been tasked with creating an OLE to automatically import the data into the SPC software. I have one that sort of works (as in opens the program, logs in, opens the right collection plan, etc) and I can get put in static information, but I am unsure how to call the information out of PC DMIS to have it be placed in the spots we need in the SPC software being used.

Has anyone else done this? Can anyone explain to me how find the variable and the measurement output in PC DMIS? I am using version 4.2 if that helps any.

Thanks so much.
Parents
  • So, now I have learned that this is happening because there is an ID associated with a DIMENSION_START_LOCATION or a DIMENSION_START_TRUE_POSITION, but not with a DIMENSION_Z_LOCATION or DIMENSION_TRUE_Z_POSITION (for example). Has anyone created a loop that allows me to take the ID from the first command type and apply it to the second command type since that one doesn't have its own ID?

    And I thought I had one listed in this thread somewhere, but I can't find it. Although I know it looped everything back to the first ID available in the program, there was something there that may be able to be altered and used to actually function as desired.
Reply
  • So, now I have learned that this is happening because there is an ID associated with a DIMENSION_START_LOCATION or a DIMENSION_START_TRUE_POSITION, but not with a DIMENSION_Z_LOCATION or DIMENSION_TRUE_Z_POSITION (for example). Has anyone created a loop that allows me to take the ID from the first command type and apply it to the second command type since that one doesn't have its own ID?

    And I thought I had one listed in this thread somewhere, but I can't find it. Although I know it looped everything back to the first ID available in the program, there was something there that may be able to be altered and used to actually function as desired.
Children
No Data