Question
How do I replace the deprecated Geometric Tolerance methods removed in Creo 9?
With Creo 9 removing the deprecated Gtoldata API methods, it's not clear to me how to get all the same data points we were previously.
It seems relatively clear how to replace the "has a specific symbol" methods like ProGtoldataDiameterGet() and ProGtoldataMatCondGet() by searching the value strings returned by ProGtolCompositeGet() for the strings returned by ProGtolSymbolStringGet(). However, I have no clue how I'm supposed to parse those value strings to get the same data provided by ProGtoldataPerUnitGet() and ProGtoldataProjZoneGet(). I would like specific instructions clarifying this for each return value of the deprecated methods.
I also have many more specific questions the documentation didn't answer. Specifically:
Is it true that ProGtolValueStringGet() returns the exact same string as the first value in the value array returned by ProGtolCompositeGet()?
Is it true that the primary/secondary/tertiary strings returned by ProGtolDatumReferencesGet() are exactly the same as the first value from each of the corresponding arrays returned by ProGtolCompositeGet()?
How do I use the strings returned by ProGtolDatumReferencesGet()/ProGtolCompositeGet() to find the referenced datum objects?
How do I parse the values returned by ProGtolDatumReferencesGet() to get the same data ProGtoldatumrefGet() returned?
What does the "overall_tolerance" returned by ProGtoldataValueGet() mean and how do I derive that value with the new methods?
What does the "is_composite" returned by ProGtoldataCompositeGet() mean and how do I derive that value with the new methods?
It seems relatively clear how to replace the "has a specific symbol" methods like ProGtoldataDiameterGet() and ProGtoldataMatCondGet() by searching the value strings returned by ProGtolCompositeGet() for the strings returned by ProGtolSymbolStringGet(). However, I have no clue how I'm supposed to parse those value strings to get the same data provided by ProGtoldataPerUnitGet() and ProGtoldataProjZoneGet(). I would like specific instructions clarifying this for each return value of the deprecated methods.
I also have many more specific questions the documentation didn't answer. Specifically:
Is it true that ProGtolValueStringGet() returns the exact same string as the first value in the value array returned by ProGtolCompositeGet()?
Is it true that the primary/secondary/tertiary strings returned by ProGtolDatumReferencesGet() are exactly the same as the first value from each of the corresponding arrays returned by ProGtolCompositeGet()?
How do I use the strings returned by ProGtolDatumReferencesGet()/ProGtolCompositeGet() to find the referenced datum objects?
How do I parse the values returned by ProGtolDatumReferencesGet() to get the same data ProGtoldatumrefGet() returned?
What does the "overall_tolerance" returned by ProGtoldataValueGet() mean and how do I derive that value with the new methods?
What does the "is_composite" returned by ProGtoldataCompositeGet() mean and how do I derive that value with the new methods?
