Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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.
Calls to ProModelitemNameGet & ProDimensionSymbolGet both return "d0"
Thank you in advance.
Solved! Go to Solution.
The correct API calling sequence needed is:
ProAnnotationElementGet(p_handle, &element)
ProModelitemNameGet(element, dimTag)
Thanks for the help
Is this a sketched dim, or how was this created?
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.
Demensions was shown. This is an annotation items.
Okay thank you. Do you know which Protoolkit API call can be made to obtain the displayed name (TEST_DIM_TAG) in the model tree?
EDIT: I have solved this. The API calling sequence needed is:
ProAnnotationElementGet(p_handle, &element)
ProModelitemNameGet(element, dimTag)
Thank you for the assistance.
No for this 3D Drawings API I'm out. But did you checked ProDimensionTextEstring*()
But I never used this.
The correct API calling sequence needed is:
ProAnnotationElementGet(p_handle, &element)
ProModelitemNameGet(element, dimTag)
Thanks for the help
Congrat, you fixed it by yourself!