[Em...] Posted May 11, 2021 Share Posted May 11, 2021 Hello, I am trying to extract the scalar abbreviation from Inspection elements, mainly dimensions and deviation labels. See image below: So from top to bottom, I would expect: L, max(L), max(L), max(L), max(L), max, max, max, max. For most elements, when I use the reference 'scalar_type_abbreviation', it is not the same abbreviation as in the explorer. For example, the call I use, for a cylinder: print(gom.app.project.inspection['A07_OUTER DIAMETER Copy 1.Ø'].scalar_type_abbreviation) Returns D. Is there a way to return the abbreviation? I would prefer not to extract the value from the name, since the name can be edited, and I am trying to align names across projects. Thank you, Best regards Emil. Link to comment https://qualityforum.zeiss.com/topic/213-extracting-scalar-abbreviation-from-dimensions-and-deviation-labels/ Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in