<?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: Is there a function in jlink/tool-kit/otk api to copy paste features? in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653629#M9362</link>
    <description>&lt;P&gt;Sure,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the biggest temptations when automating Creo is to build from from ground-zero every step that a user does to get to a final design and drawing.... in code....&amp;nbsp; Specifically - every step from an empty model to a featured model, every step from an empty drawing to a final detailed drawing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the end - most of that effort is wasted when someone still has to clean up things to finalize the model / drawing because of API limitations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So - my suggestion, take advantage of what Creo gives you for FREE.... stable regenerations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF your design can be parameterised (dimensional modifications and/or feature existence by logic and sizes)... then simply build a master model of the design ... AND ... a master drawing that is detailed the way you want it to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do this right... the drawing elements (e.g. views, shown dimensions and notes) will automatically toggle on/off based on the model's regenerated state.&amp;nbsp; &amp;nbsp;So your drawing is detailed correctly EVERY TIME once you set it up and test it for changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pro/PROGRAM is PERFECT for doing this at the model level - then letting the drawing "just respond to change" from the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Annotation Features make this a BREEZE - and can be easy controlled by Pro/PROGRAM Logic in the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PTC gives you a LOT of FREE stuff due to this parametric and logic controlled relationship.... so use it whenever you can and avoid trying to "code" your automation unless you really need to... even then -- always try to rely on the FREE stuff PTC gives you by relationship / logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So - when you regenerate your model / drawing to the correct state (every time if you do it right)... then (optionally delete unused features relations) and ultimately do a SAVE AS operation on both to the new file / drawing name for release ... and you have a new design / drawing... with hardly any cleanup requirements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Less "code" and more "results" is the goal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Focus on the data flow and what will react / respond - always take advantage of what Creo is doing by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps / inspires.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 15:55:33 GMT</pubDate>
    <dc:creator>DavidBigelow</dc:creator>
    <dc:date>2020-03-10T15:55:33Z</dc:date>
    <item>
      <title>Is there a function in jlink/tool-kit/otk api to copy paste features?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/80601#M1832</link>
      <description>I've a requirement where in I need to automate a shaft modeling and drafting. There are many segments in the shaft that will have spur gear or a helical gear. The number of segments and type of segment is an user input. Hence the shaft has to be generated in runtime. To do that</description>
      <pubDate>Thu, 03 May 2018 01:44:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/80601#M1832</guid>
      <dc:creator>mali</dc:creator>
      <dc:date>2018-05-03T01:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function in jlink/tool-kit/otk api to copy paste features?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/569947#M7648</link>
      <description>&lt;P&gt;Yes,&lt;/P&gt;
&lt;P&gt;You can go for J-link&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 12:36:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/569947#M7648</guid>
      <dc:creator>SAGARPATIL</dc:creator>
      <dc:date>2018-09-05T12:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function in jlink/tool-kit/otk api to copy paste features?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/570625#M7661</link>
      <description>&lt;P&gt;To be honest, I wouldn’t do it by copy and paste. I would create a 200% Model linked with a 200% Drawing. Provide an interface for all the options you have.&amp;nbsp;Then resume/suppress features and modify dimensions and parameters. This will save you a lot of time. If 80% of the drawing stuff will regen, you will be a hero. Don’t forget - Start simple, it could end up as a nightmare &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 13:50:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/570625#M7661</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2018-09-08T13:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function in jlink/tool-kit/otk api to copy paste features?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653508#M9358</link>
      <description>&lt;P&gt;Any idea to copy features with jlink?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 11:31:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653508#M9358</guid>
      <dc:creator>T_F</dc:creator>
      <dc:date>2020-03-10T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function in jlink/tool-kit/otk api to copy paste features?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653609#M9359</link>
      <description>&lt;P&gt;Sometimes it is good to step away from the code and look at the bigger picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can this be done as a master model/drawing with Pro/PROGRAM and save off new versions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, What about a UDF for these features?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 15:33:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653609#M9359</guid>
      <dc:creator>DavidBigelow</dc:creator>
      <dc:date>2020-03-10T15:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function in jlink/tool-kit/otk api to copy paste features?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653612#M9361</link>
      <description>&lt;P&gt;Can you show me how it works?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Can this be done as a master model/drawing with Pro/PROGRAM and save off new versions?"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 15:35:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653612#M9361</guid>
      <dc:creator>T_F</dc:creator>
      <dc:date>2020-03-10T15:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function in jlink/tool-kit/otk api to copy paste features?</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653629#M9362</link>
      <description>&lt;P&gt;Sure,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the biggest temptations when automating Creo is to build from from ground-zero every step that a user does to get to a final design and drawing.... in code....&amp;nbsp; Specifically - every step from an empty model to a featured model, every step from an empty drawing to a final detailed drawing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the end - most of that effort is wasted when someone still has to clean up things to finalize the model / drawing because of API limitations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So - my suggestion, take advantage of what Creo gives you for FREE.... stable regenerations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF your design can be parameterised (dimensional modifications and/or feature existence by logic and sizes)... then simply build a master model of the design ... AND ... a master drawing that is detailed the way you want it to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do this right... the drawing elements (e.g. views, shown dimensions and notes) will automatically toggle on/off based on the model's regenerated state.&amp;nbsp; &amp;nbsp;So your drawing is detailed correctly EVERY TIME once you set it up and test it for changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pro/PROGRAM is PERFECT for doing this at the model level - then letting the drawing "just respond to change" from the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Annotation Features make this a BREEZE - and can be easy controlled by Pro/PROGRAM Logic in the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PTC gives you a LOT of FREE stuff due to this parametric and logic controlled relationship.... so use it whenever you can and avoid trying to "code" your automation unless you really need to... even then -- always try to rely on the FREE stuff PTC gives you by relationship / logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So - when you regenerate your model / drawing to the correct state (every time if you do it right)... then (optionally delete unused features relations) and ultimately do a SAVE AS operation on both to the new file / drawing name for release ... and you have a new design / drawing... with hardly any cleanup requirements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Less "code" and more "results" is the goal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Focus on the data flow and what will react / respond - always take advantage of what Creo is doing by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps / inspires.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 15:55:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Is-there-a-function-in-jlink-tool-kit-otk-api-to-copy-paste/m-p/653629#M9362</guid>
      <dc:creator>DavidBigelow</dc:creator>
      <dc:date>2020-03-10T15:55:33Z</dc:date>
    </item>
  </channel>
</rss>

