Skip to main content
Jul 7, 2025 10:55 AM UTC
Solved

Get Dimension from Gtol

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 

Jul 8, 2025 12:23 PM UTC

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.

 

2 replies

Jul 8, 2025 12:23 PM UTC

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.

 

Jul 9, 2025 5:54 AM UTC

HI @FabianWolf 

 

Thank you so much for your help. 

 

regards

Aravind