In a program which is set up to measure multiple parts, how can I get the part count from PCDMIS? Is it a matter of getting the loop count or is there a more sophisticated way? I'm using vb.net.
Thanks for the reply Don. I actually figured out each of the dimension commands holds a value for each part it measured, the number of which can be obtained using
cmd.count
where cmd is a
PCDLRN.Command
. This way was the most practical solution for me given what I was trying to achieve in my code. For whatever reason it took me an age to figure out it was as simple as that!
Thanks for the reply Don. I actually figured out each of the dimension commands holds a value for each part it measured, the number of which can be obtained using
cmd.count
where cmd is a
PCDLRN.Command
. This way was the most practical solution for me given what I was trying to achieve in my code. For whatever reason it took me an age to figure out it was as simple as that!