Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I must read values from tolerance Table (for example shaft).
Java user guide has following text:
All the user specified information for a tolerance is saved in a tolerance table for
ISO and DIN standards. You can retrieve and set the data for tolerance tables
using Creo Object TOOLKIT Java methods.
I cann't find this methods and cann't read values from tables. It is the ITEM_TABLE?
ModelItems tables = model.ListItems(ModelItemType.ITEM_TABLE);
Thank you
Hi Robert
In Toolkit and Object Toolkit you can ask for the defined table
Also you can ask the dimension if it is tolerated and from which class.
You can get more informations about standard tolerances from Creo by these:
wfcWSession::GetDefaultTolerance returns the default value for the specified linear or angular tolerance value. The default value is set in the Creo Parametric configuration files. Specify the tolerance type and number of decimal places to identify the tolerance value as the input arguments.
• | wfcMODELCLASS_NONE |
• | wfcMODELCLASS_FINE |
• | wfcMODELCLASS_MEDIUM |
• | wfcMODELCLASS_COARSE |
• | wfcMODELCLASS_VERY_COARSE |
also you mean that text in user guide:
You can retrieve and set the data for tolerance tables
using Creo Object TOOLKIT Java methods.
it is lie.
Thank you for your time!