<?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: Changing text in description column of a HoleTable in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/changing-text-in-description-column-of-a-holetable/m-p/4607487#M127478</link>
    <description>&lt;P&gt;Correct the XML tag as below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MProfondità = "&amp;lt;StyleOverride Font='AIGDT' FontSize='0.35'&amp;gt;n&amp;lt;/StyleOverride&amp;gt;&amp;lt;StyleOverride Font='Tahoma' FontSize='0.35'&amp;gt;&amp;lt;HoleProperty HolePropertyID='77581' Precision='2'&amp;gt;&amp;lt;/HoleProperty&amp;gt; -&amp;lt;HoleProperty HolePropertyID='77580' Precision='2'&amp;gt;&amp;lt;/HoleProperty&amp;gt; PROFONDITÀ&amp;lt;/StyleOverride&amp;gt;&amp;lt;Br/&amp;gt;&amp;lt;StyleOverride Font='Tahoma' FontSize='0.35'&amp;gt;VEDI MASCHERA&amp;lt;/StyleOverride&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will work.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Nov 2013 17:20:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-09T17:20:57Z</dc:date>
    <item>
      <title>Changing text in description column of a HoleTable</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/changing-text-in-description-column-of-a-holetable/m-p/4600145#M127477</link>
      <description>&lt;P&gt;Hi, i'm trying to change the value in the description column through the formattedtext but the final result is not what is supposed to be, this is a part of my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub HoleTab()
Set oDrwDoc = ThisApplication.ActiveDocument
Dim oSheet As Sheet
Dim i As Integer
Set oSheet = oDrwDoc.ActiveSheet
Dim oHoleTables As HoleTables
Set oHoleTables = oSheet.HoleTables
Dim oTable As HoleTable
Dim oTableRow As HoleTableRow
Dim oTableRows As HoleTableRows
Dim MProfondità As String
MProfondità = "&amp;lt;StyleOverride Font='AIGDT' FontSize='0.35'&amp;gt;n&amp;lt;/StyleOverride&amp;gt;&amp;lt;StyleOverride Font='Tahoma' FontSize='0.35'&amp;gt;&amp;lt;HoleProperty HolePropertyID=&amp;amp;apos;77581&amp;amp;apos; Precision=&amp;amp;apos;2&amp;amp;apos;&amp;gt;&amp;lt;/HoleProperty&amp;gt; -&amp;lt;HoleProperty HolePropertyID=&amp;amp;apos;77580&amp;amp;apos; Precision=&amp;amp;apos;2&amp;amp;apos;&amp;gt;&amp;lt;/HoleProperty&amp;gt; PROFONDITÀ&amp;lt;/StyleOverride&amp;gt;&amp;lt;Br/&amp;gt;&amp;lt;StyleOverride Font='Tahoma' FontSize='0.35'&amp;gt;VEDI MASCHERA&amp;lt;/StyleOverride&amp;gt;"
For Each oTable In oHoleTables
    For i = 1 To oTable.HoleTableRows.Count
        If Len(oTable.HoleTableRows.Item(i).Item(1).Text) &amp;gt;= 5 Then
                    oTable.HoleTableRows.Item(i).Item(4).FormattedText = MProfondità
        End If
    Next
Next
End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Before&lt;/P&gt;&lt;P&gt;&lt;IMG title="Before.png" src="https://forums.autodesk.com/t5/image/serverpage/image-id/69099iE1F7CEC5D5BDDD81/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" align="center" alt="Before.png" width="238" height="148" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After&lt;/P&gt;&lt;P&gt;&lt;IMG title="After.png" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/69101iB8CB33206B6650B5/image-size/original?v=mpbl-1&amp;amp;px=-1" align="center" width="667" alt="After.png" height="52" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me, please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2013 11:01:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/changing-text-in-description-column-of-a-holetable/m-p/4600145#M127477</guid>
      <dc:creator>rossano_praderi</dc:creator>
      <dc:date>2013-11-07T11:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing text in description column of a HoleTable</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/changing-text-in-description-column-of-a-holetable/m-p/4607487#M127478</link>
      <description>&lt;P&gt;Correct the XML tag as below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MProfondità = "&amp;lt;StyleOverride Font='AIGDT' FontSize='0.35'&amp;gt;n&amp;lt;/StyleOverride&amp;gt;&amp;lt;StyleOverride Font='Tahoma' FontSize='0.35'&amp;gt;&amp;lt;HoleProperty HolePropertyID='77581' Precision='2'&amp;gt;&amp;lt;/HoleProperty&amp;gt; -&amp;lt;HoleProperty HolePropertyID='77580' Precision='2'&amp;gt;&amp;lt;/HoleProperty&amp;gt; PROFONDITÀ&amp;lt;/StyleOverride&amp;gt;&amp;lt;Br/&amp;gt;&amp;lt;StyleOverride Font='Tahoma' FontSize='0.35'&amp;gt;VEDI MASCHERA&amp;lt;/StyleOverride&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will work.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2013 17:20:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/changing-text-in-description-column-of-a-holetable/m-p/4607487#M127478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-09T17:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing text in description column of a HoleTable</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/changing-text-in-description-column-of-a-holetable/m-p/4608753#M127479</link>
      <description>&lt;P&gt;Thank you so much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've&amp;nbsp;modified&amp;nbsp;my code with your suggestion&amp;nbsp;and now&amp;nbsp;my code&amp;nbsp;is started to&amp;nbsp;give me an other error, then&amp;nbsp;I've correct&amp;nbsp;the "&lt;SPAN&gt;FontSize='&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;0.35&lt;/FONT&gt;&lt;/STRONG&gt;'" Tag in "&lt;SPAN&gt;FontSize='&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;0,35&lt;/FONT&gt;&lt;/STRONG&gt;'" and it start to work fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;SPAN class="login-bold"&gt;saseendrankombath.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2013 21:47:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/changing-text-in-description-column-of-a-holetable/m-p/4608753#M127479</guid>
      <dc:creator>rossano_praderi</dc:creator>
      <dc:date>2013-11-10T21:47:21Z</dc:date>
    </item>
  </channel>
</rss>

