Skip to main content

Hello,

I would like to get Tolerance Sensitivity Data in Tolerance Data Viewer through Python-API.I know how to get Criterion Value in Python-API, but I don’t know how to get COMP Value in each row. ZOSAPI.Tools.Tolerancing.ISensitivityData.GetCompensator(index) treate just statistics value, not each comp value in Tolerance Operand.

Do you know how to get comp column data in Python-API?

Thank you

 

Hideki Nishioka

 

 

Hi Hideki,

 

If you don’t find it in the API, you can always save your tolerance data to a text-file from the API and read the compensator value from there. I haven’t tried this myself, but you could use the OutputFile property of the tolerancing tool, and then simply read the text file for the compensator value (as shown in my screenshot below using the user interface).

 

 

Let me know if you need help with the coding part, but you already seem at ease with the ZOS-API.

Take care,

 

David


Reply