<?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: revision table not updae by vba in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3732432#M133339</link>
    <description>&lt;P&gt;sorry, i didnt state the issue clearly. The revision table style is not exist in "local styles" but in "all styles".&lt;/P&gt;&lt;P&gt;so after i run the code, it adds revision table on the drawing and adds revision table style in style selector. then, i have to manually select correct revision table style from style selector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub test()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oDoc As DrawingDocument&lt;/P&gt;&lt;P&gt;Set oDoc = ThisApplication.ActiveDocument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oRevStyle As RevisionTableStyle&lt;/P&gt;&lt;P&gt;Set oRevStyle = oDoc.StylesManager.RevisionTableStyles.Item("Revision Table_NEW")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oPoint As Point2d&lt;/P&gt;&lt;P&gt;Set oPoint = ThisApplication.TransientGeometry.CreatePoint2d(16, 10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oRevTable As RevisionTable&lt;/P&gt;&lt;P&gt;Set oRevTable = oDoc.ActiveSheet.RevisionTables.Add2(oPoint, , , , , oRevStyle)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2012 19:16:52 GMT</pubDate>
    <dc:creator>skyngu</dc:creator>
    <dc:date>2012-12-11T19:16:52Z</dc:date>
    <item>
      <title>revision table not updae by vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3719760#M133337</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to add a revision table by vba routie. useing fllowing code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oRevStyle As RevisionTableStyle &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set oRevStyle = oDoc.StylesManager.RevisionTableStyles.Item("Revision Table_NEW")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oRevTable As RevisionTable &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set oRevTable = oDoc.ActiveSheet.RevisionTables.Add2(oPoint, , , , , oRevStyle)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It adds revision table is not shown correct in the drawing. I have to manually select certain style in the drawing.&lt;/P&gt;&lt;P&gt;I try doc.update or view.update. it doesnt work. any idea?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 12:34:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3719760#M133337</guid>
      <dc:creator>skyngu</dc:creator>
      <dc:date>2012-12-03T12:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: revision table not updae by vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3731588#M133338</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How did you create the style?&lt;/P&gt;
&lt;P&gt;Can you reproduce the problem with a simple copy of a built-in style? - and then e.g. modify label size.&lt;/P&gt;
&lt;P&gt;What is not correct with the created table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you add a very minimal non-confidental document that enables others to reproduce the problem?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 12:58:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3731588#M133338</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2012-12-11T12:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: revision table not updae by vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3732432#M133339</link>
      <description>&lt;P&gt;sorry, i didnt state the issue clearly. The revision table style is not exist in "local styles" but in "all styles".&lt;/P&gt;&lt;P&gt;so after i run the code, it adds revision table on the drawing and adds revision table style in style selector. then, i have to manually select correct revision table style from style selector.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub test()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oDoc As DrawingDocument&lt;/P&gt;&lt;P&gt;Set oDoc = ThisApplication.ActiveDocument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oRevStyle As RevisionTableStyle&lt;/P&gt;&lt;P&gt;Set oRevStyle = oDoc.StylesManager.RevisionTableStyles.Item("Revision Table_NEW")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oPoint As Point2d&lt;/P&gt;&lt;P&gt;Set oPoint = ThisApplication.TransientGeometry.CreatePoint2d(16, 10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oRevTable As RevisionTable&lt;/P&gt;&lt;P&gt;Set oRevTable = oDoc.ActiveSheet.RevisionTables.Add2(oPoint, , , , , oRevStyle)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 19:16:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3732432#M133339</guid>
      <dc:creator>skyngu</dc:creator>
      <dc:date>2012-12-11T19:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: revision table not updae by vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3748695#M133340</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have your tried with&amp;nbsp;&lt;SPAN&gt;ConvertToLocal if it helps?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim oRevStyle As RevisionTableStyle&lt;BR /&gt;If oRevStyle.StyleLocation = kLibraryStyleLocation Then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; oRevStyle.ConvertToLocal&lt;BR /&gt;End If&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 02:58:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3748695#M133340</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2013-01-09T02:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: revision table not updae by vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3749665#M133341</link>
      <description>&lt;P&gt;thanks. i will give it a try.&lt;/P&gt;&lt;P&gt;just wondering if i should&amp;nbsp;insert this code before or after add revision table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 23:27:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/revision-table-not-updae-by-vba/m-p/3749665#M133341</guid>
      <dc:creator>skyngu</dc:creator>
      <dc:date>2013-01-09T23:27:28Z</dc:date>
    </item>
  </channel>
</rss>

