Skip to main content
4-Participant
June 6, 2023
Question

Identify GD and T attachment using Pro Toolkit

  • June 6, 2023
  • 1 reply
  • 1253 views

How to identify the feature to which the GD&T symbol is attached in a 2D drawing using Pro Toolkit

Is there any API functions available for this purpose?
Thanks

 

 

 

 

 

1 reply

June 15, 2023

from ProGtolAttach.h :

extern ProError ProGtolAttachGet (ProGtol *gtol, ProGtolAttach *r_gtol_attach);
/*
 Purpose: get gtol Attach

 Input Arguments:
 gtol - valid gtol.	 

 Output Arguments: 
	 r_gtol_attach - ProGtolAttach structure. Free it using ProGtolAttachFree();

 Return Values:
 PRO_TK_NO_ERROR - The function completed successfully.
 PRO_TK_BAD_INPUTS - The input argument is invalid. 	 
*/