Skip to main content
12-Amethyst
Jul 21, 2023 9:16 AM UTC
Solved

How to get display name of dimension using protoolkit?

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.

Ben_CAnswer
12-Amethyst
Jul 21, 2023 3:03 PM UTC

The correct API calling sequence needed is:

ProAnnotationElementGet(p_handle, &element)

ProModelitemNameGet(element, dimTag)

 

Thanks for the help

8 replies

RPN
18-Opal
Jul 21, 2023 11:53 AM UTC

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

Translate
Ben_C12-AmethystAuthor
12-Amethyst
Jul 21, 2023 12:44 PM UTC

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.

Translate
17-Peridot
Jul 21, 2023 2:26 PM UTC

Demensions was shown. This is an annotation items.

Translate