<?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: Rule/Add-in to automatically slice graphics on sketch creation/edit in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8885248#M74305</link>
    <description>&lt;P&gt;It looks like the solution will involve writing an Addin. As I'm a complete noob in that arena, it will be a few days/weeks before I have it finished. I will update here with the code once completed.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 13:09:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-02T13:09:54Z</dc:date>
    <item>
      <title>Rule/Add-in to automatically slice graphics on sketch creation/edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8878372#M74302</link>
      <description>&lt;P&gt;Pretty much the title.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create an iLogic rule or vb.net add-in that will automatically run the command "Slice Graphics" when a sketch in the part/assm environment is created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got about 50hrs experience with programming, but I need assistance with where to start.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers would be appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 04:56:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8878372#M74302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-28T04:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rule/Add-in to automatically slice graphics on sketch creation/edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8878711#M74303</link>
      <description>&lt;P&gt;Hello, try to execute these two lines as an ilogic rule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinitions&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"PartNewSketchCmd"&lt;/SPAN&gt;).&lt;SPAN&gt;Execute2&lt;/SPAN&gt;(&lt;SPAN&gt;True&lt;/SPAN&gt;) 
&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinitions&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"SketchSliceGraphicsCmd"&lt;/SPAN&gt;).&lt;SPAN&gt;Execute2&lt;/SPAN&gt;(&lt;SPAN&gt;True&lt;/SPAN&gt;) &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I hope this helps. regards&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 08:44:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8878711#M74303</guid>
      <dc:creator>Sergio.D.Suárez</dc:creator>
      <dc:date>2019-06-28T08:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rule/Add-in to automatically slice graphics on sketch creation/edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8879356#M74304</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4253164"&gt;@Sergio.D.Suárez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Almost perfect!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I've never done it before and don't know what it's called, I don't get meaningful results when I try to search. Is it possible to have:&lt;/P&gt;&lt;PRE&gt;ThisApplication.CommandManager.ControlDefinitions.Item("SketchSliceGraphicsCmd")&lt;/PRE&gt;&lt;P&gt;run anytime a sketch is edited or created new? I see some kind of for/while loop that waits for NewSketch or EditSketch, then runs and restarts the rule. Could you provide any insight to how to get an iLogic rule to wait for a command to be run?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:33:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8879356#M74304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-28T13:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rule/Add-in to automatically slice graphics on sketch creation/edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8885248#M74305</link>
      <description>&lt;P&gt;It looks like the solution will involve writing an Addin. As I'm a complete noob in that arena, it will be a few days/weeks before I have it finished. I will update here with the code once completed.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 13:09:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/8885248#M74305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-02T13:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rule/Add-in to automatically slice graphics on sketch creation/edit</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/12172007#M74306</link>
      <description>&lt;P&gt;Just in case: recently I've added the function desired in 1.0.2 version of my tiny little Add-In that automates activation of some popular 3D-model view modes.&lt;BR /&gt;I suggest to try if it suit your needs - &lt;A href="https://disk.yandex.ru/d/pVXcGF4MBYU2pw" target="_blank" rel="noopener"&gt;SmartProjectEm.msi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 13:08:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/rule-add-in-to-automatically-slice-graphics-on-sketch-creation/m-p/12172007#M74306</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2023-08-15T13:08:08Z</dc:date>
    </item>
  </channel>
</rss>

