<?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: ProFeatureReferenceEdit() API returns PRO_TK_BAD_INPUTS in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/ProFeatureReferenceEdit-API-returns-PRO-TK-BAD-INPUTS/m-p/939256#M12956</link>
    <description>&lt;DIV&gt;Thanks, i manually added one reference into empty array, its working&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ProReference *oldref;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = ProArrayAlloc(1, sizeof(ProReference), 1, (ProArray*)&amp;amp; oldref);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;oldref[0] = cSysRef;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ProReference *newref;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = ProArrayAlloc(1, sizeof(ProReference), 1, (ProArray*)&amp;amp; newref);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;newref[0] = cSysRef_2;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = ProFeatureReferenceEdit((ProSolid)newmdl, &amp;amp;feature, oldref, newref, PRO_REGEN_FORCE_REGEN);&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 26 Mar 2024 02:54:25 GMT</pubDate>
    <dc:creator>VA_3544793</dc:creator>
    <dc:date>2024-03-26T02:54:25Z</dc:date>
    <item>
      <title>ProFeatureReferenceEdit() API returns PRO_TK_BAD_INPUTS</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/ProFeatureReferenceEdit-API-returns-PRO-TK-BAD-INPUTS/m-p/938941#M12952</link>
      <description>&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a new csys which I want to redefine the reference.&amp;nbsp;ProFeatureReferenceEdit needs old &amp;amp; new references in form of array. but I have only one old and new reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any possibility to convert one reference to array format? Any suggestions are welcome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status = ProFeatureCreate(input_destmdlSel, pro_e_feature_tree, opts, 1, &amp;amp;feature, &amp;amp;errors);&lt;BR /&gt;status = ProElementFree(&amp;amp;pro_e_feature_tree);&lt;/P&gt;&lt;P&gt;status = ProFeatureReferenceEdit((ProSolid)newmdl, &amp;amp;feature, &amp;amp;cSysRef, &amp;amp;cSysRef_2, PRO_REGEN_FORCE_REGEN);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 03:41:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/ProFeatureReferenceEdit-API-returns-PRO-TK-BAD-INPUTS/m-p/938941#M12952</guid>
      <dc:creator>VA_3544793</dc:creator>
      <dc:date>2024-03-25T03:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: ProFeatureReferenceEdit() API returns PRO_TK_BAD_INPUTS</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/ProFeatureReferenceEdit-API-returns-PRO-TK-BAD-INPUTS/m-p/939203#M12955</link>
      <description>&lt;P&gt;if a question would be rephrased in terms of how to add something to an array instead of how to convert...&amp;nbsp; - the answer would be quite obvious:&lt;/P&gt;
&lt;P&gt;use ProArrayAlloc(...) followed by ProArrayObjectAdd(...)&lt;/P&gt;
&lt;P&gt;HIH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 20:58:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/ProFeatureReferenceEdit-API-returns-PRO-TK-BAD-INPUTS/m-p/939203#M12955</guid>
      <dc:creator>FV</dc:creator>
      <dc:date>2024-03-25T20:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: ProFeatureReferenceEdit() API returns PRO_TK_BAD_INPUTS</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/ProFeatureReferenceEdit-API-returns-PRO-TK-BAD-INPUTS/m-p/939256#M12956</link>
      <description>&lt;DIV&gt;Thanks, i manually added one reference into empty array, its working&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ProReference *oldref;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = ProArrayAlloc(1, sizeof(ProReference), 1, (ProArray*)&amp;amp; oldref);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;oldref[0] = cSysRef;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ProReference *newref;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = ProArrayAlloc(1, sizeof(ProReference), 1, (ProArray*)&amp;amp; newref);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;newref[0] = cSysRef_2;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = ProFeatureReferenceEdit((ProSolid)newmdl, &amp;amp;feature, oldref, newref, PRO_REGEN_FORCE_REGEN);&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Mar 2024 02:54:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/ProFeatureReferenceEdit-API-returns-PRO-TK-BAD-INPUTS/m-p/939256#M12956</guid>
      <dc:creator>VA_3544793</dc:creator>
      <dc:date>2024-03-26T02:54:25Z</dc:date>
    </item>
  </channel>
</rss>

