<?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: How to use iLogic Rule to get the first file name in an assembly tree? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5484874#M120569</link>
    <description>&lt;P&gt;Great! It is what I want.&lt;/P&gt;&lt;P&gt;Thanks lot.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jan 2015 21:59:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-27T21:59:08Z</dc:date>
    <item>
      <title>How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5484776#M120567</link>
      <description>&lt;P&gt;I need get information from the first file&amp;nbsp;(it could be an *.ipt or *.iam). I want to run&amp;nbsp;an iLogic Rule to get the name of the first file.&lt;/P&gt;&lt;P&gt;Could someone please help?&lt;/P&gt;&lt;P&gt;Thanks lot.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 21:02:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5484776#M120567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-27T21:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5484866#M120568</link>
      <description>&lt;P&gt;How about this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim oAsmComp As ComponentDefinition
oAsmComp = ThisDoc.Document.ComponentDefinition

Dim oFirstName As String
oFirstName = oAsmComp.Occurrences(1).ReferencedFileDescriptor.FullFileName&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;Please click "Accept as Solution" if this response answers your question.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cameron Whetten&lt;BR /&gt;Inventor 2014&lt;BR /&gt;&lt;IMG src="http://download.autodesk.com/us/expert_elite/ADSK_Expert_Elite_Icon_S_Color_Blk.png" border="0" width="20%" height="20%" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 21:55:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5484866#M120568</guid>
      <dc:creator>cwhetten</dc:creator>
      <dc:date>2015-01-27T21:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5484874#M120569</link>
      <description>&lt;P&gt;Great! It is what I want.&lt;/P&gt;&lt;P&gt;Thanks lot.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 21:59:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5484874#M120569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-27T21:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5485836#M120570</link>
      <description>&lt;P&gt;Hello Cameron,&lt;/P&gt;&lt;P&gt;When I use this rule, I find there is error when the assembly is empty. Could you please help me how to know the assembly is empty by iLogic rule?&lt;/P&gt;&lt;P&gt;I will use it as templete, so the assembly file name is unknow, and all occurrence names are unknow too.&lt;/P&gt;&lt;P&gt;Thanks lot.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2015 13:54:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5485836#M120570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-28T13:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5485919#M120571</link>
      <description>&lt;P&gt;And I just noticed I do not need the full name. I mean I just need the file name but not the path. Could you help at same time?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:33:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5485919#M120571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-28T14:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5486576#M120572</link>
      <description>&lt;P&gt;Try this instead:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim oAsmComp As ComponentDefinition
oAsmComp = ThisDoc.Document.ComponentDefinition

If oAsmComp.Occurrences.Count = 0 Then
	'do nothing
Else
	Dim oFirstName As String
	oFirstName = oAsmComp.Occurrences(1).ReferencedFileDescriptor.FullFileName

	oFirstName = oFirstName.Remove(0, oFirstName.LastIndexOf("\") + 1) 

End If&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code tests if the collection of component occurrences is empty (count = 0).&amp;nbsp; If so, it does nothing, otherwise it finds the filename (without the path this time).&amp;nbsp; If you would rather have it to do something, just add the desired code where it says 'do nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;Please click "Accept as Solution" if this response answers your question.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cameron Whetten&lt;BR /&gt;Inventor 2014&lt;BR /&gt;&lt;IMG src="http://download.autodesk.com/us/expert_elite/ADSK_Expert_Elite_Icon_S_Color_Blk.png" border="0" width="20%" height="20%" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2015 19:04:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5486576#M120572</guid>
      <dc:creator>cwhetten</dc:creator>
      <dc:date>2015-01-28T19:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5488275#M120573</link>
      <description>&lt;P&gt;Hello Cameron,&lt;/P&gt;&lt;P&gt;I just have time to test the code which you contributed&amp;nbsp;yesterday, it works great!&lt;/P&gt;&lt;P&gt;Thanks lot.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 18:43:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5488275#M120573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-29T18:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5488595#M120574</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello Cameron,&lt;/P&gt;&lt;P&gt;I finished my application and the result is perfect now. Thanks lot for your help.&lt;/P&gt;&lt;P&gt;Now I am thinking the situation after&amp;nbsp;I release it to user.&lt;/P&gt;&lt;P&gt;Sorry, I forget mention to you: I am trying to get infromation from the first file in my assembly which includes this rule.&lt;/P&gt;&lt;P&gt;As you know, when we put first file into an assembly, it automaticly put "file name" without extension name and with ":1" as suffix (as "firstblock:1")&lt;/P&gt;&lt;P&gt;So I used your code and took off the extension name and put ":1" to run following snippet.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;iProperties&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Custom&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;BlockHeight&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #800080; font-weight: bold;"&gt;iProperties&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;oFirstName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Custom&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;BlockHeight&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But maybe there is a chance, user put same file twice&amp;nbsp;into assembly by mistake&amp;nbsp;and later delete the first one. Then the first file name will be: "firstblock:2".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then above snippet will not work well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do yo know how to just get the display name which without extension name and ":1" or ":2" and so on in assembly? If we can do this, then we do not need to worry how the user put the file now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help again?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 21:43:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5488595#M120574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-29T21:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5488633#M120575</link>
      <description>&lt;P&gt;Hi Rich,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Getting the display name is easier than getting the filename.&amp;nbsp; This should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim oAsmComp As ComponentDefinition
oAsmComp = ThisDoc.Document.ComponentDefinition

If oAsmComp.Occurrences.Count = 0 Then
	'do nothing
Else
	Dim oFirstName As String
	oFirstName = oAsmComp.Occurrences(1).Name 

End If&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cameron Whetten&lt;BR /&gt;Inventor 2014&lt;BR /&gt;&lt;IMG src="http://download.autodesk.com/us/expert_elite/ADSK_Expert_Elite_Icon_S_Color_Blk.png" border="0" width="20%" height="20%" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 22:00:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5488633#M120575</guid>
      <dc:creator>cwhetten</dc:creator>
      <dc:date>2015-01-29T22:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5488646#M120576</link>
      <description>&lt;P&gt;Bingo!&lt;/P&gt;&lt;P&gt;All of problem is solved under your help!&lt;/P&gt;&lt;P&gt;Thanks lot, Cameron!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 22:08:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5488646#M120576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-29T22:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5520175#M120577</link>
      <description>&lt;P&gt;Hello Cameron,&lt;/P&gt;&lt;P&gt;Could I ask you one more question?&lt;/P&gt;&lt;P&gt;How Can I get the file type of first file?&lt;/P&gt;&lt;P&gt;I can get it the right letter after I get the fullfilename after run below Snippet which you gave to me.&lt;/P&gt;&lt;P&gt;oFirstName = oAsmComp.Occurrences(1).ReferencedFileDescriptor.FullFileName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But do we have a simple way to get it?&lt;/P&gt;&lt;P&gt;I tried to use this snippet, it does not work. Do you have any simple way? Thanks lot for your help in advanced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;oFirstType = oAsmComp.Occurrences(1).ReferencedFileDescriptor.FileType &lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Feb 2015 17:16:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5520175#M120577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-25T17:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5520221#M120578</link>
      <description>&lt;P&gt;Hi Rich.&amp;nbsp; You can use the following to get the document type:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;oFirstType = oAsmComp.Occurrences(1).DefinitionDocumentType&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This returns an enumerator (enum), which is a numeric constant that represents something.&amp;nbsp; In this case, it returns a DocumentTypeEnum, which as you might guess represents a type of document.&amp;nbsp; According to the API help documentation, the different values for DocumentTypeEnum and what they represent are given in the image below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/155691i60B7A983C88D40D4/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="DocumentTypeEnums.PNG" title="DocumentTypeEnums.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following is an example of how you might use this enum in your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;oFirstType = oAsmComp.Occurrences(1).DefinitionDocumentType&lt;/P&gt;
&lt;P&gt;If oFirstType = DocumentTypeEnum.kAssemblyDocumentObject Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'do some stuff&lt;/P&gt;
&lt;P&gt;End If&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cameron Whetten&lt;BR /&gt;Inventor 2014&lt;BR /&gt;&lt;IMG src="http://download.autodesk.com/us/expert_elite/ADSK_Expert_Elite_Icon_S_Color_Blk.png" border="0" width="20%" height="20%" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2015 17:47:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5520221#M120578</guid>
      <dc:creator>cwhetten</dc:creator>
      <dc:date>2015-02-25T17:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5520279#M120579</link>
      <description>&lt;P&gt;Thanks lot.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2015 18:30:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/5520279#M120579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-25T18:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/6071188#M120580</link>
      <description>&lt;PRE&gt;Dim oAsmComp As ComponentDefinition
oAsmComp = ThisDoc.Document.ComponentDefinition
If oAsmComp.Occurrences.Count = 0 Then
'do nothing
Else
Dim oFirstName As String
oFirstName = oAsmComp.Occurrences(1).Name
End If&lt;/PRE&gt;&lt;P&gt;Could I ask a question about above code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put this code in my ilogic rule. When I open it fresh, it works fine. But when I worked other projects and then open the file with this rule, it cannot get correct information. I mean&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;oAsmComp.Occurrences.Count&lt;/PRE&gt;&lt;P&gt;does not work well.&lt;/P&gt;&lt;P&gt;I have to close inventor and open the file which with this rule as first open, it works again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone advise me how to fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 20:51:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/6071188#M120580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-04T20:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/8680374#M120581</link>
      <description>&lt;P&gt;This works great, however, how could I run through all of the Occurrences? Because there is a (1), I am only allowed to get the first file. I want to get multiple. I tried doing:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;oFirstName = oAsmComp.Occurrences.ReferencedFileDescriptor.FullFileName&lt;/PRE&gt;
&lt;P&gt;I removed the (1) but it doesn't work&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 05:32:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/8680374#M120581</guid>
      <dc:creator>felix.cortes5K3Y2</dc:creator>
      <dc:date>2019-03-25T05:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic Rule to get the first file name in an assembly tree?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/10580511#M120582</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7060191"&gt;@felix.cortes5K3Y2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need a "For loop" for that.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 06:38:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-use-ilogic-rule-to-get-the-first-file-name-in-an-assembly/m-p/10580511#M120582</guid>
      <dc:creator>ReneRepina</dc:creator>
      <dc:date>2021-08-28T06:38:49Z</dc:date>
    </item>
  </channel>
</rss>

