<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings in Analysis</title>
    <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213937#M5103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrey,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I am afraid I cannot upload the model but I can definitely upload the excerpt of the source code.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;This source code has been written by following the directions given in tkuse.pdf. I tried running the&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;source code on plethora of drawings however its returningPRO_TK_E_NOT_FOUND for all.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Shreeshail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 10:22:29 GMT</pubDate>
    <dc:creator>shreeshail_lokh</dc:creator>
    <dc:date>2013-05-31T10:22:29Z</dc:date>
    <item>
      <title>ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213935#M5101</link>
      <description>Hello All,I'm trying to visit Geometric Tolerances in drawing usingProMdlGtolVisit function.Although drawing contains Geomteric Tolerances the visit function is returningPRO_TK_E_NOT_FOUND . I coudnt figure out why this is happening.If anybodyis aware of this or knows solution</description>
      <pubDate>Sun, 13 Dec 2020 15:25:43 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213935#M5101</guid>
      <dc:creator>shreeshail_lokh</dc:creator>
      <dc:date>2020-12-13T15:25:43Z</dc:date>
    </item>
    <item>
      <title>RE: ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213936#M5102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please provide source code and the model of concern.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 09:52:25 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213936#M5102</guid>
      <dc:creator>ptc-2838649</dc:creator>
      <dc:date>2013-05-31T09:52:25Z</dc:date>
    </item>
    <item>
      <title>RE: ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213937#M5103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrey,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I am afraid I cannot upload the model but I can definitely upload the excerpt of the source code.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;This source code has been written by following the directions given in tkuse.pdf. I tried running the&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;source code on plethora of drawings however its returningPRO_TK_E_NOT_FOUND for all.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Shreeshail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 10:22:29 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213937#M5103</guid>
      <dc:creator>shreeshail_lokh</dc:creator>
      <dc:date>2013-05-31T10:22:29Z</dc:date>
    </item>
    <item>
      <title>RE: ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213938#M5104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello William,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;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.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Shreeshail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:25:13 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213938#M5104</guid>
      <dc:creator>shreeshail_lokh</dc:creator>
      <dc:date>2013-05-31T11:25:13Z</dc:date>
    </item>
    <item>
      <title>ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213939#M5105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Shreeshail,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are the Gtols in the drawing associated with actual models, or are they&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just "drawn" in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:59:36 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213939#M5105</guid>
      <dc:creator>bbailey</dc:creator>
      <dc:date>2013-05-31T12:59:36Z</dc:date>
    </item>
    <item>
      <title>RE: ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213940#M5106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ben,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Aplogies for late reply.The Gtols present in the drawings are coming from the model (instances of the model).&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Shreeshail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 06:45:40 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213940#M5106</guid>
      <dc:creator>shreeshail_lokh</dc:creator>
      <dc:date>2013-06-06T06:45:40Z</dc:date>
    </item>
    <item>
      <title>RE: ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213941#M5107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello William,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;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.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Shreeshail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 06:49:48 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213941#M5107</guid>
      <dc:creator>shreeshail_lokh</dc:creator>
      <dc:date>2013-06-06T06:49:48Z</dc:date>
    </item>
    <item>
      <title>ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213942#M5108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Shreeshail,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked up the API ProMdlGtolVisit() and it states the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The function ProMdlGtolVisit() visits geometric tolerances stored in a part, assembly, or drawing. The forms of the visit and filter functions are similar to those of most other visit functions--they receive a ProGtol pointer as input argument to identify the gtol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in your last email you said that the gtol data is stored within the instances of the model.  In your code you passed a handle to the drawing to the visit function.  That's why it's not working.  You first need to get a handle to the model that is being used on the drawing.  There are several ways of doing this depending on your situation.  You can get a model handle by visiting drawing views or by getting the current drawing solid (ProDrawingCurrentsolidGet()).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick Williams | Engineering Systems |  c: 616.947.2110&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[cid:image001.jpg@01CE628B.E2E7C7A0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 12:00:18 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213942#M5108</guid>
      <dc:creator>pwilliams-3</dc:creator>
      <dc:date>2013-06-06T12:00:18Z</dc:date>
    </item>
    <item>
      <title>RE: ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213943#M5109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Patrick,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks a lot for your reply.I worked accordingly &amp;amp; I did manage to find the Gtols.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;However the gtol which I found were from models &amp;amp; same were used in the drawing.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;But there are cases where there is gtol in the model ,however its not used in the drawing.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;My question is,is there any way to figure out if the gtol present in the model is present in the&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;drawing associated with it ??.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 10:59:17 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213943#M5109</guid>
      <dc:creator>shreeshail_lokh</dc:creator>
      <dc:date>2013-06-07T10:59:17Z</dc:date>
    </item>
    <item>
      <title>RE: ProMdlGtolVisit returns PRO_TK_E_NOT_FOUND for drawings</title>
      <link>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213944#M5110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Patrick,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I figured it out we can do this using 'ProAnnotationIsShown'&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Shreeshail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 11:55:34 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Analysis/ProMdlGtolVisit-returns-PRO-TK-E-NOT-FOUND-for-drawings/m-p/213944#M5110</guid>
      <dc:creator>shreeshail_lokh</dc:creator>
      <dc:date>2013-06-07T11:55:34Z</dc:date>
    </item>
  </channel>
</rss>

