<?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: check whether part is create by frame generator in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/7807908#M81030</link>
    <description>It has a clasification. You could skip these on clasification = content center member.</description>
    <pubDate>Mon, 26 Feb 2018 06:05:46 GMT</pubDate>
    <dc:creator>bradeneuropeArthur</dc:creator>
    <dc:date>2018-02-26T06:05:46Z</dc:date>
    <item>
      <title>check whether part is create by frame generator</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/7807548#M81026</link>
      <description>&lt;P&gt;Is it possible through the api to check whether a part has been created through frame generator? I'm trying to filter these parts out of a all referenced documents loop.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 00:48:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/7807548#M81026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T00:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: check whether part is create by frame generator</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/7807840#M81029</link>
      <description>&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use stock number to skip frame generator parts, but you could use any iproperty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our frame generator parts contain a stock number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We also use the description iproperty so it skips the frame control sketch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;---start iLogic ----&lt;/SPAN&gt;

&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;check for skip it flag&lt;/SPAN&gt;
&lt;SPAN&gt;SN&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;iProperties&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Project&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Stock Number&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;Desc&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;iProperties&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Project&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Description&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;

&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;IsNumeric&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SN&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;True&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
    &lt;SPAN&gt;Return&lt;/SPAN&gt;
    &lt;SPAN&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN&gt;Desc&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Frame Control Sketch&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
    &lt;SPAN&gt;Return&lt;/SPAN&gt;
    &lt;SPAN&gt;Else&lt;/SPAN&gt;
    &lt;SPAN&gt;"""DO something here"""&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;

&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;---end iLogic ----&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 05:14:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/7807840#M81029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T05:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: check whether part is create by frame generator</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/7807908#M81030</link>
      <description>It has a clasification. You could skip these on clasification = content center member.</description>
      <pubDate>Mon, 26 Feb 2018 06:05:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/7807908#M81030</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2018-02-26T06:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: check whether part is create by frame generator</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/8061996#M85313</link>
      <description>&lt;P&gt;Hello Together,&lt;/P&gt;&lt;P&gt;you can check it with AttribueSets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub wnTestFrame()
    Dim ASE As AttributeSetsEnumerator
    Dim Doc As Document
    Set Doc = ThisApplication.ActiveDocument
    Set ASE = Doc.AttributeManager.FindAttributeSets("com.autodesk.FG*", "*", "*")
    If ASE.Count &amp;gt; 0 Then MsgBox "Framegenerator Part/Assembly"
End Sub&lt;/PRE&gt;&lt;P&gt;Assemlies will be found even if only a subpart or subassemly&amp;nbsp;has the AttributeSet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If yout Need the Information for the single assembly&amp;nbsp;you can check the AttributeSets of the componentdefinition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 07:55:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/8061996#M85313</guid>
      <dc:creator>wolfgang_nickl</dc:creator>
      <dc:date>2018-06-12T07:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: check whether part is create by frame generator</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/9448097#M108098</link>
      <description>&lt;P&gt;Hi Wolfgang,&lt;/P&gt;&lt;P&gt;Thanks for your input. The program works well.&lt;/P&gt;&lt;P&gt;I was wondering if you can expand on it.&lt;/P&gt;&lt;P&gt;The issue I have is that if I place a structural member using Place From Content Center directly, your code shows that it was placed by FG.&lt;/P&gt;&lt;P&gt;Is there a way to filter this out and truly only identify those components placed by FG?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 15:15:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/9448097#M108098</guid>
      <dc:creator>J_Dumont</dc:creator>
      <dc:date>2020-04-16T15:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: check whether part is create by frame generator</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/11724618#M148582</link>
      <description>&lt;P&gt;Hello Dumont,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry, I don't know a property that will tell this.&lt;/P&gt;&lt;P&gt;In a quick view in the local window of vba, I saw that&lt;/P&gt;&lt;P&gt;the AttributSet of Frame elements has two items,&lt;/P&gt;&lt;P&gt;while the Part from ContentCenter has only one.&lt;/P&gt;&lt;P&gt;But I don't know it it behaves that way ever nor&lt;/P&gt;&lt;P&gt;I have code too check this.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-02-02 162734.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1170632i43443D94B19103A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-02-02 162734.png" alt="Screenshot 2023-02-02 162734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 15:28:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/11724618#M148582</guid>
      <dc:creator>wolfgang_nickl</dc:creator>
      <dc:date>2023-02-02T15:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: check whether part is create by frame generator</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/11724639#M148584</link>
      <description>&lt;P&gt;You can check this using document interests method. See&lt;A href="https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-to-identify-if-component-was-created-by-frame-generator/m-p/9448636#M108111" target="_blank" rel="noopener"&gt; this post. &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 15:37:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-whether-part-is-create-by-frame-generator/m-p/11724639#M148584</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2023-02-02T15:37:23Z</dc:date>
    </item>
  </channel>
</rss>

