Skip to main content
10-Marble
July 7, 2025
Solved

Get Dimension from Gtol

  • July 7, 2025
  • 1 reply
  • 462 views

Hi Guys

 

I hope you all going good

 

I'm trying to get the dimension from the Gtol, we have one API called "ProGtoldataPlacementGet" from this API we can get the actual Dimension of the gtol but this API is already deprecated. I'm using Creo 10, does any one knows the alternate solution please help to resolve the issue.

 

 

Thanks 

Best answer by FabianWolf

Hi,

you can try this:

 

1. ProGtolAttachGet()

2. ProGtolAttachOnAnnotationGet() -> this outputs a ProAnnotation

3. Cast the ProAnnotation into a ProDimension

 

Since Creo 10.0.2.0 there's also the function ProGtolMakeDimensionGet that should conveniently output what you're looking for.

 

Hope that helps.

 

1 reply

14-Alexandrite
July 8, 2025

Hi,

you can try this:

 

1. ProGtolAttachGet()

2. ProGtolAttachOnAnnotationGet() -> this outputs a ProAnnotation

3. Cast the ProAnnotation into a ProDimension

 

Since Creo 10.0.2.0 there's also the function ProGtolMakeDimensionGet that should conveniently output what you're looking for.

 

Hope that helps.

 

10-Marble
July 9, 2025

HI @FabianWolf 

 

Thank you so much for your help. 

 

regards

Aravind