<?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 rule to remove all revision tags in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502323#M369467</link>
    <description>&lt;P&gt;you should go trough event trigger and set external rule.&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2020 16:58:57 GMT</pubDate>
    <dc:creator>marcin_otręba</dc:creator>
    <dc:date>2020-05-08T16:58:57Z</dc:date>
    <item>
      <title>iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5706327#M369448</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was hoping someone could help me with an iLogic rule that selects all revision tags in idw and then delete's them. Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 04:34:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5706327#M369448</guid>
      <dc:creator>Stryder33345</dc:creator>
      <dc:date>2015-07-06T04:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5706545#M369449</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately Revision Tags aren't in the API Objects model.&lt;/P&gt;
&lt;P&gt;You can delete revision tables, but not tags.&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/177095i2BD4B53D617C25D0/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="c.jpg" title="c.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could create a new drawing layer "Revision Tag", make it as an Object Default, then when you want to remove al tags in your drawing you will have only to turn off the revision Tag layer visibility.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 09:36:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5706545#M369449</guid>
      <dc:creator>admaiora</dc:creator>
      <dc:date>2015-07-06T09:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5706562#M369450</link>
      <description>&lt;P&gt;Is there a specific reason it needs to be iLogic?&lt;/P&gt;
&lt;P&gt;You could just set a custom filter and window select all the revision tags.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/177100iFFA74087B421810F/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Revision_tag_select.png" title="Revision_tag_select.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Will admit it's kinda strange that there's a filter for it in this menu, but not in the API. &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://forums.autodesk.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 09:59:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5706562#M369450</guid>
      <dc:creator>-niels-</dc:creator>
      <dc:date>2015-07-06T09:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5706835#M369451</link>
      <description>MIght be able to make a work-around by window selecting the whole screen and automatically applying the revision tag custom filter, if any/all of that is accessible through the api.</description>
      <pubDate>Mon, 06 Jul 2015 13:41:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5706835#M369451</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2015-07-06T13:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5715646#M369452</link>
      <description>&lt;P&gt;Thanks for the help, this may be the way as I am running a rule to up-rev drawings to as built and do not require the revision tags any longer. I can change the layer visibility with the API hopefully.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2015 00:57:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5715646#M369452</guid>
      <dc:creator>Stryder33345</dc:creator>
      <dc:date>2015-07-12T00:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5715647#M369453</link>
      <description>&lt;P&gt;Thanks for the help, but this is the way I am already doing it and it is very time consuming. The rule would be run with task scheduler to re-stamp and up-rev drawings to as built. Maybe I will have to put it on the wish list to be able to select the tags with the API.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2015 01:02:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5715647#M369453</guid>
      <dc:creator>Stryder33345</dc:creator>
      <dc:date>2015-07-12T01:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5936954#M369454</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was&amp;nbsp;stuggling with this&amp;nbsp;as well and then&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/240398"&gt;@Cris_Davis﻿&lt;/a&gt;&amp;nbsp;pointed out that while you can not delete the revision tags directly, you can delete the revision row or&amp;nbsp;rows&amp;nbsp;(assuming&amp;nbsp;the row being deleted&amp;nbsp;is&amp;nbsp;not the active row) and&amp;nbsp;the rev tags corresponding to rev&amp;nbsp;row will be removed along with the row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So with all of that in mind here is an example iLogic rule that will add a row to the rev table (making the new row the active row) and then delete all other rows along with any tags related to those rows, then it resets the revision number/letter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A href="http://inventortrenches.blogspot.com" target="_blank"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim oDrawDoc As Inventor.DrawingDocument = ThisApplication.ActiveEditDocument
Dim oRevTable As RevisionTable	

'get the current rev letter
oRev = iProperties.Value("Project", "Revision Number")

Try	'try to get the first rev table on the active sheet
	oRevTable = oDrawDoc.ActiveSheet.RevisionTables.Item(1)
Catch 'catch error when no rev table is found
	MessageBox.Show("Error: Most likely no revison table was found", "iLogic")
End Try
			
'define the rev table rows collection
Dim oRows As RevisionTableRows 
oRows = oRevTable.RevisionTableRows

'add new rev row, so that the old rows can be deleted	
oRows.Add() 

'look at all of the rows in the rev table
For Each oRow In oRows
	If oRow.IsActiveRow Then 
		'do nothing for the active row
	Else
		oRow.Delete 'deletes rev tags also
	End If
Next

'set rev number/letter back to what it was
iProperties.Value("Project", "Revision Number") = oRev

''Or set rev number/letter back to default
'iProperties.Value("Project", "Revision Number") = "A"&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Dec 2015 21:04:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/5936954#M369454</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2015-12-04T21:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9499677#M369455</link>
      <description>&lt;P&gt;Is there a way to automatically delete the REV tags and the REV letter in the title block if I delete the rev table?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 16:36:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9499677#M369455</guid>
      <dc:creator>brett_schuster</dc:creator>
      <dc:date>2020-05-07T16:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501580#M369456</link>
      <description>&lt;P&gt;Revision tag is removed when you remove coresponding row from rev table. Code above works fine.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 11:26:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501580#M369456</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-08T11:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501705#M369457</link>
      <description>&lt;P&gt;I want it to clear everything if I delete the entire table not just a row. I also want it to clear the Rev block in the title block. my issue is when I do a copy design and all that comes over I can't just delete the table and take the whole sheet back to no rev. we do not start at rev A and the guys in my dept. forget to go into iProperties and delete the rev letter so I want it that then they delete the table it takes the tags and title block letter with it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 12:37:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501705#M369457</guid>
      <dc:creator>brett_schuster</dc:creator>
      <dc:date>2020-05-08T12:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501710#M369458</link>
      <description>&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So before you delete table go troug rows and delete each of it. Then tags will be removed as well. Than go to iproperties and clear revision no. - i assume that in title block you have linked iproperty, if not correct title block as well.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 12:39:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501710#M369458</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-08T12:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501792#M369459</link>
      <description>&lt;P&gt;the biggest problem is them remembering to clear it in the iProperties. so I don't care as much about the tags I mostly need it to clear the Rev block.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 13:17:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501792#M369459</guid>
      <dc:creator>brett_schuster</dc:creator>
      <dc:date>2020-05-08T13:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501983#M369460</link>
      <description>&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveEditDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTable&lt;/SPAN&gt;	

&lt;SPAN style="color: #808080;"&gt;'get the current rev letter&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRev&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;	&lt;SPAN style="color: #808080;"&gt;'try to get the first rev table on the active sheet&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RevisionTables&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
	&lt;SPAN style="color: #808080;"&gt;'define the rev table rows collection&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTableRows&lt;/SPAN&gt; 
&lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RevisionTableRows&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTableRow&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'look at all of the rows in the rev table&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsActiveRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; 
		&lt;SPAN style="color: #808080;"&gt;'do nothing for the active row&lt;/SPAN&gt;
	
	&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;'deletes rev tags also&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'set rev number/letter back to what it was&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'iProperties.Value("Project", "Revision Number") = oRev&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;'catch error when no rev table is found&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Show&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Error: Most likely no revison table was found"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"iLogic"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1) &lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
			&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 May 2020 14:36:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9501983#M369460</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-08T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502018#M369461</link>
      <description>&lt;P&gt;Thank you this is what I wanted. Is there a way to create a custom button in the menu. I don't trust some of my guys to have the ilogic panel open. or a way that it runs the rule when the table is deleted. I know i'm asking a lot I just don't know much about ilogic and my boss is very particular about how things are done he wants it so people don't have to think lol&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 14:52:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502018#M369461</guid>
      <dc:creator>brett_schuster</dc:creator>
      <dc:date>2020-05-08T14:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502044#M369462</link>
      <description>&lt;P&gt;Try this, set it upt to be fires on drawing save event.&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;ActiveEditDocument&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;subtype&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;"{BBF9FDF1-52DC-11D0-8C04-0800090BE8EC}"&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;oDrawDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveEditDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTable&lt;/SPAN&gt;	

&lt;SPAN style="color: #808080;"&gt;'get the current rev letter&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRev&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;	&lt;SPAN style="color: #808080;"&gt;'try to get the first rev table on the active sheet&lt;/SPAN&gt;
	
&lt;SPAN style="color: #800000;"&gt;responce&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Show&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Do you want to delete revision data?"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"revision"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;MessageBoxButtons&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;YesNo&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;responce&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ToString&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;"Yes"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RevisionTables&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
	&lt;SPAN style="color: #808080;"&gt;'define the rev table rows collection&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTableRows&lt;/SPAN&gt; 
&lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RevisionTableRows&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTableRow&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'look at all of the rows in the rev table&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsActiveRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; 
		&lt;SPAN style="color: #808080;"&gt;'do nothing for the active row&lt;/SPAN&gt;
	
	&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;'deletes rev tags also&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'set rev number/letter back to what it was&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'iProperties.Value("Project", "Revision Number") = oRev&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;'catch error when no rev table is found&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Show&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Error: Most likely no revison table was found"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"iLogic"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; 
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1) 
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt; 
&lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&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;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;ActiveEditDocument&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;subtype&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;"{BBF9FDF1-52DC-11D0-8C04-0800090BE8EC}"&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;oDrawDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveEditDocument&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTable&lt;/SPAN&gt;	

&lt;SPAN style="color: #808080;"&gt;'get the current rev letter&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRev&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;	&lt;SPAN style="color: #808080;"&gt;'try to get the first rev table on the active sheet&lt;/SPAN&gt;
	
&lt;SPAN style="color: #800000;"&gt;responce&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Show&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Do you want to delete revision data?"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"revision"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;MessageBoxButtons&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;YesNo&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;responce&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ToString&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;"Yes"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RevisionTables&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
	&lt;SPAN style="color: #808080;"&gt;'define the rev table rows collection&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTableRows&lt;/SPAN&gt; 
&lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RevisionTableRows&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RevisionTableRow&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'look at all of the rows in the rev table&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRows&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsActiveRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; 
		&lt;SPAN style="color: #808080;"&gt;'do nothing for the active row&lt;/SPAN&gt;
	
	&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;orow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;'deletes rev tags also&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oRevTable&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'set rev number/letter back to what it was&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'iProperties.Value("Project", "Revision Number") = oRev&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;'catch error when no rev table is found&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Show&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Error: Most likely no revison table was found"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"iLogic"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; 
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1) 
&lt;SPAN style="color: #800000;"&gt;odoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt; 
&lt;SPAN style="color: #800000;"&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;=&lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&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>Fri, 08 May 2020 15:04:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502044#M369462</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-08T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502121#M369463</link>
      <description>&lt;P&gt;Thank you for the help! I got it to where it does what I wanted it too.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 15:33:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502121#M369463</guid>
      <dc:creator>brett_schuster</dc:creator>
      <dc:date>2020-05-08T15:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502229#M369464</link>
      <description>&lt;P&gt;Is there a way I can have the iTrigger to run this as an external rule so this rule can be run in old drawings&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 16:14:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502229#M369464</guid>
      <dc:creator>brett_schuster</dc:creator>
      <dc:date>2020-05-08T16:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502287#M369465</link>
      <description>&lt;P&gt;yes, save it as external tyle na set it up on drawing close or save.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 16:41:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502287#M369465</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-08T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502307#M369466</link>
      <description>&lt;P&gt;I set it up as an external rule but the iTrigger button won't trigger the rule to run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveEditDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRevTable&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RevisionTable&lt;/SPAN&gt;	
&lt;SPAN&gt;trigger&lt;/SPAN&gt; = &lt;SPAN&gt;iTrigger0&lt;/SPAN&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;'get the current rev letter&lt;/SPAN&gt;
&lt;SPAN&gt;oRev&lt;/SPAN&gt; = &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN&gt;"Revision Number"&lt;/SPAN&gt;)

&lt;SPAN&gt;Try&lt;/SPAN&gt;	&lt;SPAN&gt;'try to get the first rev table on the active sheet&lt;/SPAN&gt;
	&lt;SPAN&gt;oRevTable&lt;/SPAN&gt; = &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN&gt;RevisionTables&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)
	&lt;SPAN&gt;'define the rev table rows collection&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRows&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RevisionTableRows&lt;/SPAN&gt; 
&lt;SPAN&gt;oRows&lt;/SPAN&gt; = &lt;SPAN&gt;oRevTable&lt;/SPAN&gt;.&lt;SPAN&gt;RevisionTableRows&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;orow&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RevisionTableRow&lt;/SPAN&gt;
&lt;SPAN&gt;oRows&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;
&lt;SPAN&gt;'look at all of the rows in the rev table&lt;/SPAN&gt;
&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oRow&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oRows&lt;/SPAN&gt;
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;orow&lt;/SPAN&gt;.&lt;SPAN&gt;IsActiveRow&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt; 
		&lt;SPAN&gt;'do nothing for the active row&lt;/SPAN&gt;
	
	&lt;SPAN&gt;Else&lt;/SPAN&gt;
		&lt;SPAN&gt;orow&lt;/SPAN&gt;.&lt;SPAN&gt;Delete&lt;/SPAN&gt; &lt;SPAN&gt;'deletes rev tags also&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
	&lt;SPAN&gt;Next&lt;/SPAN&gt;
&lt;SPAN&gt;oRevTable&lt;/SPAN&gt;.&lt;SPAN&gt;Delete&lt;/SPAN&gt;
&lt;SPAN&gt;'set rev number/letter back to what it was&lt;/SPAN&gt;
&lt;SPAN&gt;'iProperties.Value("Project", "Revision Number") = oRev&lt;/SPAN&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;Document&lt;/SPAN&gt;
&lt;SPAN&gt;odoc&lt;/SPAN&gt; = &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN&gt;odoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt;=&lt;SPAN&gt;""&lt;/SPAN&gt;
&lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt;=&lt;SPAN&gt;""&lt;/SPAN&gt;
&lt;SPAN&gt;Catch&lt;/SPAN&gt; &lt;SPAN&gt;'catch error when no rev table is found&lt;/SPAN&gt;
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Error: Most likely no revison table was found"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;)


&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 May 2020 16:52:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502307#M369466</guid>
      <dc:creator>brett_schuster</dc:creator>
      <dc:date>2020-05-08T16:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to remove all revision tags</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502323#M369467</link>
      <description>&lt;P&gt;you should go trough event trigger and set external rule.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 16:58:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-rule-to-remove-all-revision-tags/m-p/9502323#M369467</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-08T16:58:57Z</dc:date>
    </item>
  </channel>
</rss>

