<?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: Title Block doesn't update custom iproperties driven from ilogic rule in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9597203#M112441</link>
    <description>&lt;P&gt;Thanks for the reply, but it doesn't work for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The drawings still won't update.&amp;nbsp; The update icons in the quick access toolbar are greyed out until I move the base view a bit manually and then it allows me to update the drawing.&amp;nbsp; After the update is performed then the .idw title block populates as it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried moving the base view in the ilogic rule but it still doesn't work.&amp;nbsp; It seems to be a glitch that has to remedied manually.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2020 22:35:40 GMT</pubDate>
    <dc:creator>RockieM</dc:creator>
    <dc:date>2020-06-23T22:35:40Z</dc:date>
    <item>
      <title>Title Block doesn't update custom iproperties driven from ilogic rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9582968#M112111</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an ilogic rule helps automate most of our revision processes.&amp;nbsp; It populates a number of iproperties in the model document, some being normal iproperties and a number of custom iproperties.&amp;nbsp; These then populate in the .idw flawlessly unless the model document is an assembly&amp;nbsp;with any sort of Representation involved (View, Position, LOD).&amp;nbsp; I have 7 users using my rules who always bring this to my attention, so I want remedy this so I don't run into this again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have this at the end of my code:&amp;nbsp;InventorVb.DocumentUpdate()&amp;nbsp; but it doesn't update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manually I can get it to work by saving the file, moving the base view in the idw a bit and then update in the file which is normally greyed out until I move the base view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update Copied Properties doesn't work for this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody have any ideas on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!@&lt;/P&gt;&lt;P&gt;Rockie (Inventor 2019)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 16:06:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9582968#M112111</guid>
      <dc:creator>RockieM</dc:creator>
      <dc:date>2020-06-16T16:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Title Block doesn't update custom iproperties driven from ilogic rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9583790#M112144</link>
      <description>&lt;P&gt;Another way to do it manually is to open the assembly file with the same (View, Position, LOD) representations as the base view in the .idw.&amp;nbsp; Edit the iproperties I want and they will automatically update in the idw.&amp;nbsp; So I guess I could do is the following:&lt;/P&gt;&lt;P&gt;1) query the names of the&amp;nbsp;(View, Position, LOD) representations in the base view of the .idw.&lt;/P&gt;&lt;P&gt;2) Open the assembly with the proper representations&lt;/P&gt;&lt;P&gt;3) Populate my iproperties. (This should automatically update my title block)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I've gotten this: but returns a blank if the name is anything other than "Default" or "Master"&lt;/P&gt;&lt;P&gt;Can anybody tell me if I'm going in the right direction on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;'active drawing doc
    Dim oDrawDoc As DrawingDocument
    	oDrawDoc = ThisApplication.ActiveDocument
    'active sheet
    Dim oSheet As Sheet
    	oSheet = oDrawDoc.ActiveSheet
    'the 1st drawing view
    Dim oView As DrawingView
    	oView = oSheet.DrawingViews.Item(1)
		
	Dim oDesign, oLOD, oPosition As String
		
		oDesign = oView.ActiveDesignViewRepresentation
		MessageBox.Show(oDesign, "Design")

        oLOD = oView.ActiveLevelOfDetailRepresentation
		MessageBox.Show(oLOD, "Level Of Detail")
		
		oPosition = oView.ActivePositionalRepresentation
		MessageBox.Show(oPosition, "Position")&lt;/LI-CODE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Rockie&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 22:01:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9583790#M112144</guid>
      <dc:creator>RockieM</dc:creator>
      <dc:date>2020-06-16T22:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Title Block doesn't update custom iproperties driven from ilogic rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9592897#M112328</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/95854"&gt;@RockieM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;UpdateWhenDone&lt;/SPAN&gt;=&lt;SPAN&gt;True&lt;/SPAN&gt;
&lt;SPAN&gt;InventorVb&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentUpdate&lt;/SPAN&gt;(&lt;SPAN&gt;True)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 10:01:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9592897#M112328</guid>
      <dc:creator>tonythm</dc:creator>
      <dc:date>2020-06-22T10:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Title Block doesn't update custom iproperties driven from ilogic rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9597203#M112441</link>
      <description>&lt;P&gt;Thanks for the reply, but it doesn't work for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The drawings still won't update.&amp;nbsp; The update icons in the quick access toolbar are greyed out until I move the base view a bit manually and then it allows me to update the drawing.&amp;nbsp; After the update is performed then the .idw title block populates as it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried moving the base view in the ilogic rule but it still doesn't work.&amp;nbsp; It seems to be a glitch that has to remedied manually.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 22:35:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9597203#M112441</guid>
      <dc:creator>RockieM</dc:creator>
      <dc:date>2020-06-23T22:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Title Block doesn't update custom iproperties driven from ilogic rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9597357#M112444</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/95854"&gt;@RockieM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try this one:&lt;/P&gt;&lt;PRE&gt;Dim oCurrentSheet As Sheet
oCurrentSheet = ThisDoc.Document.ActiveSheet
	
	' Iterate through the sheets
	Dim oSheet As Sheet
	For Each oSheet In ThisDoc.Document.Sheets
		oSheet.Activate
		oSheet.Update	
	Next&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 01:09:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/title-block-doesn-t-update-custom-iproperties-driven-from-ilogic/m-p/9597357#M112444</guid>
      <dc:creator>tonythm</dc:creator>
      <dc:date>2020-06-24T01:09:44Z</dc:date>
    </item>
  </channel>
</rss>

