While using the pcdmis automation library I am running into difficulty obtaining the actual dimension from a feature control frame object.
When a CommandObject is passed by the OnObjectExecuted event I was assuming that I would use the FCFCommand object to drill down and extract the information I needed.
I can tell that a FEATURE_CONTROL_FRAME object has been passed, but that is as far as I have gotten.
Unfortunately I do not get a lot of time on the computer with PCDMIS to trial and error my way through which members of the CommandObject to use.
For example how would I get to the actual flatness that is output to the report by the pcdmis code when the FEATURE_CONTROL_FRAME object type is passed.
Below is an example of the pcdmis code that I am trying to pull the information from.
We don't use FCF dimensions, so I don't have to deal with this. However, the topic comes up frequently and the best answer I've seen is to review the PCD2Excel source code.
There is a recent post where a download link was provided. A search for PCD2Excel should find the post