<?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 How to Change Visibility of body in a part file using ilogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-visibility-of-body-in-a-part-file-using-ilogic/m-p/9022980#M109847</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a part file with 7 bodies. How do i make one body invisible using ilogic rule.&lt;/P&gt;&lt;P&gt;I need to make make the body "FEA house " and then export the file seperately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,Neil&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2019 05:34:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-13T05:34:34Z</dc:date>
    <item>
      <title>How to Change Visibility of body in a part file using ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-visibility-of-body-in-a-part-file-using-ilogic/m-p/9022980#M109847</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a part file with 7 bodies. How do i make one body invisible using ilogic rule.&lt;/P&gt;&lt;P&gt;I need to make make the body "FEA house " and then export the file seperately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,Neil&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 05:34:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-visibility-of-body-in-a-part-file-using-ilogic/m-p/9022980#M109847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-13T05:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change Visibility of body in a part file using ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-visibility-of-body-in-a-part-file-using-ilogic/m-p/9023288#M109848</link>
      <description>&lt;P&gt;Hi, this is a method to access each body of the multibody part file. You access through the item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oCD&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSolid&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;SurfaceBody&lt;/SPAN&gt; = &lt;SPAN&gt;oCD&lt;/SPAN&gt;.&lt;SPAN&gt;SurfaceBodies&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(3)

&lt;SPAN&gt;oSolid&lt;/SPAN&gt;.&lt;SPAN&gt;Visible&lt;/SPAN&gt; = &lt;SPAN&gt;False&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; If you have your bodies correctly named in your tree inside the browser, you could also hide through the name. You should create a loop that searches between all surfacebodies and when it finds a solid with the same name as you choose, then hide this solid.&lt;BR /&gt;I hope this helps with your problem. Regards&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 09:02:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-visibility-of-body-in-a-part-file-using-ilogic/m-p/9023288#M109848</guid>
      <dc:creator>Sergio.D.Suárez</dc:creator>
      <dc:date>2019-09-13T09:02:52Z</dc:date>
    </item>
  </channel>
</rss>

