Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
I need to know if the part is mm or inch as I need to set different text heights for each case. Can you please help me find the api to do this?
ProUnitsystem unit_system;
ProUnititem unit;
ProMdlPrincipalunitsystemGet(currentModel, &unit_system);
ProUnitsystemUnitGet(&unit_system, PRO_UNITTYPE_LENGTH, &unit);
unit.name is holding then "in" or "mm" or other values...