Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hello All,
I'm trying to visit Geometric Tolerances in drawing usingProMdlGtolVisit function.
Although drawing contains Geomteric Tolerances the visit function is returning
PRO_TK_E_NOT_FOUND . I coudnt figure out why this is happening.If anybody
is aware of this or knows solution to this please let me know.Thanks in Advance.
Regards,
Shreeshail
Could you please provide source code and the model of concern.
Regards.
Hello Andrey,
I am afraid I cannot upload the model but I can definitely upload the excerpt of the source code.
This source code has been written by following the directions given in tkuse.pdf. I tried running the
source code on plethora of drawings however its returningPRO_TK_E_NOT_FOUND for all.
Thanks a lot.
Regards,
Shreeshail
Hello William,
Thanks a lot for your reply.As suggested I prototyped the call back function in global varialbe section.However its still not working, I am getting the same error.
Regards,
Shreeshail
Hello Ben,
Aplogies for late reply.The Gtols present in the drawings are coming from the model (instances of the model).
Thanks & Regards,
Shreeshail
Hello William,
Apologies for late reply.I am attaching the sample code where the action function is protoyped in the global section withsame arguments as the arguments in the function itself.However its not working ,please point out if I have done anything wrong.
Thanks & Regards,
Shreeshail
Patrick,
Thanks a lot for your reply.I worked accordingly & I did manage to find the Gtols.
However the gtol which I found were from models & same were used in the drawing.
But there are cases where there is gtol in the model ,however its not used in the drawing.
My question is,is there any way to figure out if the gtol present in the model is present in the
drawing associated with it ??.
Patrick,
I figured it out we can do this using 'ProAnnotationIsShown'
Regards,
Shreeshail