<?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>tema Addin - PostPword en FeatureCAM Forum</title>
    <link>https://forums.autodesk.com/t5/featurecam-forum/addin-postpword/m-p/8542930#M4222</link>
    <description>&lt;P&gt;Hey guys, I just built my own Addin but now I´m hanging on a Problem I can´t solve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Target of that Addin is to include our own written Cycles in FeatureCAM as an UDF with all the things a normal Feature does like creating toolpaths in the simulation and so on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My addin does everything I need expect posting&amp;nbsp; Variables to my Post. -&amp;gt; Here I need the Variables from the Addin to fill in my Cycle in my Custom Format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the following command in the toolpath section:&lt;/P&gt;
&lt;P&gt;Doc.SetAttribute(eAID_PostPword xxx )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately this command seems to have a problem with the command:&lt;/P&gt;
&lt;P&gt;Add.CallCustomFormat( xxx )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simulation runs fine but I don´t get a NC code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there something I need to know about the two commands? The API help wasn´t helpfull here...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance, sorry for my bad English &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@15505E7123B67C99B954E2352EAF12C0/emoticons/1f603.png" alt=":cara_sonriente_con_la_boca_abierta:" title=":cara_sonriente_con_la_boca_abierta:" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 12:27:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-01-23T12:27:47Z</dc:date>
    <item>
      <title>Addin - PostPword</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/addin-postpword/m-p/8542930#M4222</link>
      <description>&lt;P&gt;Hey guys, I just built my own Addin but now I´m hanging on a Problem I can´t solve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Target of that Addin is to include our own written Cycles in FeatureCAM as an UDF with all the things a normal Feature does like creating toolpaths in the simulation and so on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My addin does everything I need expect posting&amp;nbsp; Variables to my Post. -&amp;gt; Here I need the Variables from the Addin to fill in my Cycle in my Custom Format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the following command in the toolpath section:&lt;/P&gt;
&lt;P&gt;Doc.SetAttribute(eAID_PostPword xxx )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately this command seems to have a problem with the command:&lt;/P&gt;
&lt;P&gt;Add.CallCustomFormat( xxx )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simulation runs fine but I don´t get a NC code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there something I need to know about the two commands? The API help wasn´t helpfull here...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance, sorry for my bad English &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@15505E7123B67C99B954E2352EAF12C0/emoticons/1f603.png" alt=":cara_sonriente_con_la_boca_abierta:" title=":cara_sonriente_con_la_boca_abierta:" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 12:27:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/addin-postpword/m-p/8542930#M4222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-23T12:27:47Z</dc:date>
    </item>
    <item>
      <title>Betreff: Addin - PostPword</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/addin-postpword/m-p/8550319#M4233</link>
      <description>&lt;P&gt;Okay it looks like Postvariables can only be posted in the Verify Sub.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But now i wants to post the Position of the Feature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the position with the command:&amp;nbsp;&lt;SPAN&gt;GetFeatureLocation&lt;/SPAN&gt;(&lt;SPAN&gt;eFLT_xyz&lt;/SPAN&gt;,&lt;SPAN&gt;x_pos&lt;/SPAN&gt;,&lt;SPAN&gt;y_pos&lt;/SPAN&gt;,&lt;SPAN&gt;z_pos.....&lt;/SPAN&gt;) and wants to post them to my Post.&lt;!--StartFragment --&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Problem is when I change the position of my feature while creating the feature, the "GetFeatureLocation" gives me the wrong values in my postvariables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After unchecking the Feature in the Feature tree and reactivation, posting the nc-code, the positions in my nc-code are correct. Now when I go back into my feature and changing the position again, all my Positions in my nc-code are doubled?!&amp;nbsp; &amp;nbsp; O.o&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone here can help me?&amp;nbsp; I can´t find a solution for this. Sure I can get the position in a different sub but i only can post the variables in the verify sub???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I´ve also tried using x-coord, y-coord and z-coord in my nc-code but every single time i pick a position for my feature, the z-coord in my nc-code is somehow lost.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also here, after transforming the feature all values are correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pretty hard to understand if you ask me...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;!--EndFragment --&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 18:26:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/addin-postpword/m-p/8550319#M4233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-25T18:26:59Z</dc:date>
    </item>
  </channel>
</rss>

