Determine Units inside a rule
Determine Units inside a rule
(OP)
been working with catia about six months. just getting started into creating rules and i have a need to know what the current units are within the rule. is there a way to find out what the current units (mm or in) is? I need to format a catalog value with only mm values





RE: Determine Units inside a rule
Regards,
CEROG
RE: Determine Units inside a rule
RE: Determine Units inside a rule
if the user's units for length is set to mm then all is well; if they select dia= change it then the current rule looks at the value converts it to a string and changes the catalog entry from say D40 L300 to D30 L300 but if it is set to inches then it ends up looking like D1 L300
I haven't found the functions/procedures or whatever you call them in Catia
i would think that something like IsMetric() would exist but don't know where to really look
RE: Determine Units inside a rule
However, if there is an easier way i would still like to know about it.