Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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...