<?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 to change the view representation in a part file in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7162446#M136715</link>
    <description>&lt;P&gt;I am not a Configurator360 expert but I don't think Configurator360 preserves viewreps when opening the part in the on-line viewer.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2017 17:27:10 GMT</pubDate>
    <dc:creator>bobvdd</dc:creator>
    <dc:date>2017-06-19T17:27:10Z</dc:date>
    <item>
      <title>iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/3415391#M136708</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is an existing thread on this forum showing how to change the view rep in an assembly (using oAsmCompDef.RepresentationsManager.DesignViewRepresentations.Item&lt;STRONG&gt;(&lt;/STRONG&gt;"Red"&lt;STRONG&gt;)&lt;/STRONG&gt;.activate) - Thank you to Curtis Waguespack - however I am trying to achieve the same with iLogic in a part file (multi-solid). Is this possible please?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 16:14:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/3415391#M136708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-16T16:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/3415505#M136709</link>
      <description>&lt;P&gt;Following iLogic rule activates "View1" and should work both in a part or in an assembly.&lt;/P&gt;
&lt;P&gt;Keep in mind that viewreps capture the part and body appearance in a multi-body part but not the&amp;nbsp;face or feature appearance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim odoc As Document
Dim ocompdef As ComponentDefinition
odoc = ThisApplication.ActiveDocument
ocompdef = odoc.ComponentDefinition
Try
ocompdef.RepresentationsManager.DesignViewRepresentations.Item("View1").Activate
Catch
MessageBox.Show("This viewrep does not exist", "Error")
End Try&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Bob&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 17:00:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/3415505#M136709</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2012-04-16T17:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/3415893#M136710</link>
      <description>&lt;P&gt;Superb! works perfectly thank you very much for the quick response&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 19:59:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/3415893#M136710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-16T19:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/5509567#M136711</link>
      <description>&lt;P&gt;Excellen!!!!. it solved my major problem with View representations&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 11:16:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/5509567#M136711</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T11:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/5763498#M136712</link>
      <description>&lt;P&gt;It is really working for creating the view representations in the part. However, they are kind of not saved. I mean,&amp;nbsp; when I click the view representtions from the browser, they are not consistent with what the respective ilogic&amp;nbsp;created.&lt;/P&gt;&lt;P&gt;I need them to be consistent because down the road, I need these view representations to be used in the assemly level.&lt;/P&gt;&lt;P&gt;Please see the file attached here to.&lt;/P&gt;&lt;P&gt;I request help.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2015 06:53:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/5763498#M136712</guid>
      <dc:creator>RoyWickrama_RWEI</dc:creator>
      <dc:date>2015-08-10T06:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/5770006#M136713</link>
      <description>&lt;P&gt;If you are talking about the&amp;nbsp;two&amp;nbsp;view represenations that make the sketch dimensions visible or invisible, then yes you have a good point.&lt;/P&gt;
&lt;P&gt;We do not store the dimension visibility state in view representations. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are interested to have identical drawing views but one with and the other without drawing views, my suggestion would be to create a separate solid body from your sketches first and then create two identical views, all without dimensions.&lt;/P&gt;
&lt;P&gt;After that it is sufficient to &lt;STRONG&gt;retrieve&lt;/STRONG&gt; the sketch dimensions on one of the views via the context menu.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See attached image on how the result would look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Bob&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 15:50:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/5770006#M136713</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2015-08-13T15:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7161574#M136714</link>
      <description>&lt;P&gt;How could i run this code with&amp;nbsp;configurator 360&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:37:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7161574#M136714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T13:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7162446#M136715</link>
      <description>&lt;P&gt;I am not a Configurator360 expert but I don't think Configurator360 preserves viewreps when opening the part in the on-line viewer.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 17:27:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7162446#M136715</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2017-06-19T17:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7162966#M136716</link>
      <description>&lt;P&gt;That is correct, C360 does not utilize the "active" design view representation (DVR) when showing a single-part (IPT-only) design. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, there is some limited support if you make the part be an occurrence in an assembly, and change the DVR of the occurrence. &amp;nbsp;In that scenario, C360 still does not show the DVR immediately, but will update the display to show the correct DVR in the secondary "overlay" which comes in within a second or two after moving the view or changing the model. &amp;nbsp;This may or may not be sufficient for your needs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, C360 respects the DVR specified in drawing-views (in IDW's or DWG's).&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 20:31:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7162966#M136716</guid>
      <dc:creator>Jon.Balgley</dc:creator>
      <dc:date>2017-06-19T20:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7162983#M136717</link>
      <description>&lt;P&gt;PS. &amp;nbsp;Here are the files I used to test it. &amp;nbsp;Use the IPT by itself, and you'll see it won't really work. &amp;nbsp;Use the IAM (i.e., upload the whole zip file to C360), and you'll see the drawing works, and the IAM display works after a delay.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 20:37:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/7162983#M136717</guid>
      <dc:creator>Jon.Balgley</dc:creator>
      <dc:date>2017-06-19T20:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/8056742#M136719</link>
      <description>&lt;P&gt;is that possible to do the same action but inside an Children occurence?&lt;/P&gt;
&lt;P&gt;i mean: to change the view representation inside an assembly?&lt;/P&gt;
&lt;P&gt;i want to change a view of EscadaPhantom using ilogic from 100000165.&lt;/P&gt;
&lt;P&gt;is that possible?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capturar (1).PNG" style="width: 667px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/510868i72059D0C76D08064/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capturar (1).PNG" alt="Capturar (1).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;SPAN style="color: #808000;"&gt;kelly.young&lt;/SPAN&gt;&amp;nbsp;has embedded your image for clarity. &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 19:53:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/8056742#M136719</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-11T19:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to change the view representation in a part file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/9182369#M136720</link>
      <description>&lt;P&gt;Hi. see code below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;first part for the actual assembly. Second part for a specific subcomponent.&lt;/P&gt;&lt;P&gt;-------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub Main()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;''this is for main assembly&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oDoc As Document&lt;/P&gt;&lt;P&gt;oDoc = ThisDoc.Document&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oAssyDoc As AssemblyDocument&lt;/P&gt;&lt;P&gt;oAssyDoc = TryCast(oDoc, AssemblyDocument)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If oAssyDoc Is Nothing Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show("Document not of Assembly Type")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;/P&gt;&lt;P&gt;End If&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;P&gt;oAssyDoc.ComponentDefinition.RepresentationsManager.DesignViewRepresentations("Default").Activate&lt;/P&gt;&lt;P&gt;oAssyDoc.ComponentDefinition.RepresentationsManager.LevelOfDetailRepresentations("Custom").Activate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Catch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show("Unable to find 'Custom' LOD on " &amp;amp; oAssyDoc.DisplayName)&lt;/P&gt;&lt;P&gt;End Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;'this Is For Specific Occurrences&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oOccs As ComponentOccurrences&lt;/P&gt;&lt;P&gt;oOccs = oAssyDoc.ComponentDefinition.Occurrences&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Each oOcc As ComponentOccurrence In oOccs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If oOcc.Name = "Specific Subcomponent" Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oOcc.SetDesignViewRepresentation("Default")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oOcc.SetLevelOfDetailRepresentation("Custom")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show("Unable to find 'Custom' LOD on " &amp;amp; oOcc.Name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---------&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 15:50:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-change-the-view-representation-in-a-part-file/m-p/9182369#M136720</guid>
      <dc:creator>caroline_ccc</dc:creator>
      <dc:date>2019-12-04T15:50:22Z</dc:date>
    </item>
  </channel>
</rss>

