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
  • The code I referred to (DIM_MEASURED) only works with dimensions, in this case the DIMENSION_Z_LOCATION.


    I have tried this both ways, and got nothing. I have to be missing something.

    In one part of the code, that plane is refered to as plane4- top of baffle (or something like that) and here it is plane4 z. The top of baffle plane is a measured plane and using the measz command doesn't work. That is the one I started with. Using that with the plane4 z doesn't work. Using the dim measured with either one or as a feature or dimension does not work.

    Is there away to call this measurement out by using the feature command MEASURED_PLANE? There must be a way to get that measurement out of there and in the format I need it, but I just don't know it.

    Oh, and I did find out there is no measplane command either. Smiley.
Reply
  • The code I referred to (DIM_MEASURED) only works with dimensions, in this case the DIMENSION_Z_LOCATION.


    I have tried this both ways, and got nothing. I have to be missing something.

    In one part of the code, that plane is refered to as plane4- top of baffle (or something like that) and here it is plane4 z. The top of baffle plane is a measured plane and using the measz command doesn't work. That is the one I started with. Using that with the plane4 z doesn't work. Using the dim measured with either one or as a feature or dimension does not work.

    Is there away to call this measurement out by using the feature command MEASURED_PLANE? There must be a way to get that measurement out of there and in the format I need it, but I just don't know it.

    Oh, and I did find out there is no measplane command either. Smiley.
Children
No Data