<?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: Ilogic: open assembly from part in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9544953#M62837</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;title&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"title"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyDocumentObject&lt;/SPAN&gt;, , &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"title"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;title&lt;/SPAN&gt;
 &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
   &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Matrix&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateMatrix&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SetTranslation&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateVector&lt;/SPAN&gt;(0, 0, 0)) 
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Replace&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;".ipt"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;".iam"&lt;/SPAN&gt;), &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;:&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 05:56:16 GMT</pubDate>
    <dc:creator>marcin_otręba</dc:creator>
    <dc:date>2020-05-28T05:56:16Z</dc:date>
    <item>
      <title>Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9539613#M62832</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to open an assembly from a part, and then use the filename from that part and save the assembly with the same filename.&lt;/P&gt;&lt;P&gt;Is that possible? and can I get the drawing file for that assembly also?&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 08:09:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9539613#M62832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-26T08:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9542769#M62833</link>
      <description>&lt;P&gt;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It always the case that parts can be opened from assembly and not visa versa. Unless the parts are added into assembly, part can not linked to assembly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similarly, a part or assembly can be opened from linked drawing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 11:10:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9542769#M62833</guid>
      <dc:creator>chandra.shekar.g</dc:creator>
      <dc:date>2020-05-27T11:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9542799#M62834</link>
      <description>&lt;P&gt;you can do it if on save of assembly tyou will write custom iproperty in each occurrance reference document like parent_ass&amp;nbsp; in which you will store assembly.fullfilename. Then you can read this iproperty and open it from part.&lt;/P&gt;&lt;P&gt;But in thiis scenario part cant be used in more than in 1 assembly.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 11:20:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9542799#M62834</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-27T11:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9543033#M62835</link>
      <description>&lt;P&gt;sorry i just read your post again,&lt;/P&gt;&lt;P&gt;do you want to create assembly wchich will be na,med as part with that part in it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 12:49:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9543033#M62835</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-27T12:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9543087#M62836</link>
      <description>&lt;P&gt;Yes exactly and use the title from the part on the assembly&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 13:03:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9543087#M62836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-27T13:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9544953#M62837</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;title&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"title"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyDocumentObject&lt;/SPAN&gt;, , &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"title"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;title&lt;/SPAN&gt;
 &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
   &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Matrix&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateMatrix&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SetTranslation&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateVector&lt;/SPAN&gt;(0, 0, 0)) 
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Replace&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;".ipt"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;".iam"&lt;/SPAN&gt;), &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;:&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 05:56:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9544953#M62837</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-28T05:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545076#M62838</link>
      <description>&lt;P&gt;That is exactly what I needed, thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I need to run an external rule on that assembly, how do I do that?&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:20:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545076#M62838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T07:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545133#M62839</link>
      <description>&lt;P&gt;Ilogic external configuration:&lt;/P&gt;&lt;P&gt;&lt;A href="https://autodeskmfg.typepad.com/blog/2012/01/working-with-external-ilogic-rules.html" target="_blank"&gt;https://autodeskmfg.typepad.com/blog/2012/01/working-with-external-ilogic-rules.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://adndevblog.typepad.com/manufacturing/2015/01/add-external-ilogic-rule-to-event-trigger.html" target="_blank"&gt;https://adndevblog.typepad.com/manufacturing/2015/01/add-external-ilogic-rule-to-event-trigger.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i have polish version of inventor so i will not be able to post print screens to you because you will not understand &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then change rule to this (it checks document sub type):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;subtype&lt;/SPAN&gt;&amp;lt;&amp;gt;&lt;SPAN style="color: #008080;"&gt;"{BBF9FDF1-52DC-11D0-8C04-0800090BE8EC}"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;And&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;subtype&lt;/SPAN&gt;&amp;lt;&amp;gt;&lt;SPAN style="color: #008080;"&gt;"{E60F81E1-49B3-11D0-93C3-7E0706000000}"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FullFileName&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;title&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"title"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyDocumentObject&lt;/SPAN&gt;, , &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"title"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;title&lt;/SPAN&gt;
 &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
   &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Matrix&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateMatrix&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SetTranslation&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oTG&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateVector&lt;/SPAN&gt;(0, 0, 0)) 
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;oMatrix&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;ass&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Replace&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;name&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;".ipt"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;".iam"&lt;/SPAN&gt;), &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:49:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545133#M62839</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-28T07:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545187#M62840</link>
      <description>&lt;P&gt;Maybe I was unclear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to do something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim &lt;SPAN&gt;name&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;title&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;(1).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"title"&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;ass&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;Documents&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kAssemblyDocumentObject&lt;/SPAN&gt;, , &lt;SPAN&gt;True&lt;/SPAN&gt;)
&lt;SPAN&gt;ass&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;(1).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"title"&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt; = &lt;SPAN&gt;title&lt;/SPAN&gt;
 &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTG&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;
   &lt;SPAN&gt;oTG&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oMatrix&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Matrix&lt;/SPAN&gt;
&lt;SPAN&gt;oMatrix&lt;/SPAN&gt; = &lt;SPAN&gt;oTG&lt;/SPAN&gt;.&lt;SPAN&gt;CreateMatrix&lt;/SPAN&gt;
&lt;SPAN&gt;oMatrix&lt;/SPAN&gt;.&lt;SPAN&gt;SetTranslation&lt;/SPAN&gt;(&lt;SPAN&gt;oTG&lt;/SPAN&gt;.&lt;SPAN&gt;CreateVector&lt;/SPAN&gt;(0, 0, 0)) 
&lt;SPAN&gt;ass&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;name&lt;/SPAN&gt;,&lt;SPAN&gt;oMatrix&lt;/SPAN&gt;)&lt;BR /&gt;&lt;STRONG&gt;iLogicVB.RunExternalRule("Configure") ' This rule should run on the assembly&lt;/STRONG&gt;
&lt;SPAN&gt;ass&lt;/SPAN&gt;.&lt;SPAN&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN&gt;Replace&lt;/SPAN&gt;(&lt;SPAN&gt;name&lt;/SPAN&gt;, &lt;SPAN&gt;".ipt"&lt;/SPAN&gt;, &lt;SPAN&gt;".iam"&lt;/SPAN&gt;), &lt;SPAN&gt;False&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:17:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545187#M62840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T08:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545204#M62841</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/run-ilogic-rule-from-another-rule/td-p/6994012" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/run-ilogic-rule-from-another-rule/td-p/6994012&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:19:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545204#M62841</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-28T08:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ilogic: open assembly from part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545226#M62842</link>
      <description>&lt;P&gt;I solved it this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;assembly = ThisApplication.ActiveDocument&lt;BR /&gt;auto = iLogicVb.Automation&lt;BR /&gt;auto.RunRule(assembly,"Configure")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:29:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-open-assembly-from-part/m-p/9545226#M62842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-28T08:29:33Z</dc:date>
    </item>
  </channel>
</rss>

