Skip to main content
12-Amethyst
July 21, 2023
Solved

How to get display name of dimension using protoolkit?

  • July 21, 2023
  • 1 reply
  • 2684 views

Hello,

 

I would like to know what protoolkit function is needed to obtain the name of the dimension as it appears in the tree, "TEST_DIM_TAG" in this case.

creo_8_dim_refs.PNG

 

Calls to ProModelitemNameGet & ProDimensionSymbolGet both return "d0"

 

Thank you in advance.

Best answer by Ben_C

The correct API calling sequence needed is:

ProAnnotationElementGet(p_handle, &element)

ProModelitemNameGet(element, dimTag)

 

Thanks for the help

1 reply

18-Opal
July 21, 2023

Is this a sketched dim, or how was this created?

Ben_C12-AmethystAuthor
12-Amethyst
July 21, 2023

I don't believe it is a sketched dimension, but I'm not sure how it was created as this file was passed to me.

File has been attached.

17-Peridot
July 21, 2023

Demensions was shown. This is an annotation items.