<?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: Overridden Balloons in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13763387#M176545</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13972296"&gt;@gerardo_arellanoPYCV8&lt;/a&gt;&amp;nbsp;, the macro might not be complete in the case of overridden balloons. Can you post a small sample drawing in which it fails?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Aug 2025 02:23:59 GMT</pubDate>
    <dc:creator>MjDeck</dc:creator>
    <dc:date>2025-08-12T02:23:59Z</dc:date>
    <item>
      <title>Overridden Balloons</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13699659#M175781</link>
      <description>&lt;P&gt;Hello, I've been working with a macro that iterates through the balloons in a drawing with the intention of compare the balloons to the BOM.&amp;nbsp; I've tried several ways and did not work.&lt;BR /&gt;&lt;BR /&gt;The main issue is getting the information of overridden balloons like this format = (item / qty).&lt;BR /&gt;I want to get the information of the qty overridden value, and I didn't have luck.&lt;BR /&gt;&lt;BR /&gt;Is always an error like this: Object doesn't support this property or method.&lt;BR /&gt;reading more about it could be that my VBA project is not correctly referencing the Autodesk Inventor Object&lt;BR /&gt;Library.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gerardo_arellanoPYCV8_0-1750947460545.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1547008i4F3426CD90C912E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gerardo_arellanoPYCV8_0-1750947460545.png" alt="gerardo_arellanoPYCV8_0-1750947460545.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;The code is attached.&lt;BR /&gt;to run the macro, you will first have to select a balloon and then the macro will print the information gotten from the balloon.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 14:21:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13699659#M175781</guid>
      <dc:creator>gerardo_arellanoPYCV8</dc:creator>
      <dc:date>2025-06-26T14:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Overridden Balloons</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13700291#M175800</link>
      <description>&lt;P&gt;Hi Gerardo - it looks like your references are OK. But your code is trying to use some properties and constants that are not in the Inventor API. A lot of your code works OK, but here are the problem areas. &lt;BR /&gt;The API has no properties named:&lt;BR /&gt;Balloon.FormattedText&lt;BR /&gt;ValueSet.Index&lt;BR /&gt;&lt;BR /&gt;Please see if you can get the information you need from the existing properties on &lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=GUID-Balloon" target="_blank" rel="noopener"&gt;Balloon&lt;/A&gt; and &lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=GUID-BalloonValueSet" target="_blank" rel="noopener"&gt;ValueSet&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;You have this line:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Select Case oBalloon.Type&lt;/LI-CODE&gt;
&lt;P&gt;That won't give you useful information. Every balloon with have the same Type. That Type property is just used to distinguish a balloon from a different type of object (e.g. DrawingCurve or Sheet or DrawingView).&lt;BR /&gt;You can use this instead:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Select Case oBalloon.GetBalloonType&lt;/LI-CODE&gt;
&lt;P&gt;That will give you detailed information. But the values from that won't match the ones you list:&amp;nbsp;kItemBalloonType,&amp;nbsp;kQuantityBalloonType etc. Please refer to the available values in &lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=BalloonTypeEnum" target="_blank" rel="noopener"&gt;BalloonTypeEnum&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 23:20:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13700291#M175800</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2025-06-26T23:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Overridden Balloons</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13707861#M175918</link>
      <description>&lt;P&gt;Hello MjDeck, I tried your suggestion but did not work.&amp;nbsp;&lt;BR /&gt;I think it has to do with the format of the balloon, I'm trying to get the information of a split balloon like this (2/5) where I only got the information of the upper value, but&lt;BR /&gt;I'm not able to see the lower value of the balloon when a composite balloon is like the image below.&amp;nbsp;&lt;BR /&gt;it reads the information of the item, but not the overridden qty.&amp;nbsp;That means that the balloon &lt;STRONG&gt;only contains one BalloonValueSet&lt;/STRONG&gt;, even though it may &lt;STRONG&gt;visually show something&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gerardo_arellanoPYCV8_0-1751463238397.png" style="width: 218px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1548793i8679BB9A6F39E409/image-dimensions/218x133?v=v2" width="218" height="133" role="button" title="gerardo_arellanoPYCV8_0-1751463238397.png" alt="gerardo_arellanoPYCV8_0-1751463238397.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gerardo_arellanoPYCV8_1-1751463309563.png" style="width: 123px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1548794i1F026278DF3FF268/image-dimensions/123x101?v=v2" width="123" height="101" role="button" title="gerardo_arellanoPYCV8_1-1751463309563.png" alt="gerardo_arellanoPYCV8_1-1751463309563.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gerardo_arellanoPYCV8_4-1751463484084.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1548795i1339948D125E4FAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gerardo_arellanoPYCV8_4-1751463484084.png" alt="gerardo_arellanoPYCV8_4-1751463484084.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Public Sub DebugBalloonEntries()&lt;/P&gt;&lt;P&gt;Dim oDoc As DrawingDocument&lt;BR /&gt;Set oDoc = ThisApplication.ActiveDocument&lt;/P&gt;&lt;P&gt;If oDoc.SelectSet.Count &amp;lt;&amp;gt; 1 Then&lt;BR /&gt;MsgBox "Select one balloon.", vbExclamation&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;Dim oBalloon As Balloon&lt;BR /&gt;Set oBalloon = oDoc.SelectSet(1)&lt;/P&gt;&lt;P&gt;Dim i As Integer&lt;BR /&gt;Dim output As String&lt;BR /&gt;output = "Entry Count: " &amp;amp; oBalloon.BalloonValueSets.Count &amp;amp; vbCrLf&lt;/P&gt;&lt;P&gt;For i = 1 To oBalloon.BalloonValueSets.Count&lt;BR /&gt;output = output &amp;amp; "Entry " &amp;amp; i &amp;amp; ": " &amp;amp; oBalloon.BalloonValueSets(i).Value &amp;amp; vbCrLf&lt;BR /&gt;Next i&lt;/P&gt;&lt;P&gt;MsgBox output, vbInformation, "Balloon Debug"&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:39:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13707861#M175918</guid>
      <dc:creator>gerardo_arellanoPYCV8</dc:creator>
      <dc:date>2025-07-02T13:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Overridden Balloons</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13708500#M175929</link>
      <description>&lt;P&gt;Hi Gerardo - my mistake. GetBalloonType can be called like this:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Dim balloonType As BalloonTypeEnum
Dim balloonTypeData As Variant
Call oBalloon.GetBalloonType(balloonType, balloonTypeData)
Debug.Print "Balloon type = " &amp;amp; balloonType&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The BalloonValueSets are for attached balloons, not for split balloons. To see what's in a split balloon, you have to look at the&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=Balloon_Style" target="_blank" rel="noopener"&gt;Balloon.Style&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=BalloonStyle_Properties" target="_blank" rel="noopener"&gt;BalloonStyle.Properties.&lt;/A&gt;&lt;BR /&gt;And also&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=BalloonValueSet_ReferencedRow" target="_blank" rel="noopener"&gt;BalloonValueSet.ReferencedRow&lt;/A&gt;.&amp;nbsp; &amp;nbsp;I started to put together sample code, but it's missing some functionality. I should be able to post it soon.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 21:09:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13708500#M175929</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2025-07-02T21:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Overridden Balloons</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13717745#M175994</link>
      <description>&lt;P&gt;Hi Gerardo - here is a macro that will list up to two entries in each ValueSet. All the output goes to the Immediate window in Visual Basic. There are no message boxes.&lt;BR /&gt;Please try it out. It has a limitation: if the BalloonStyle does not specify the two-entry (split) balloon type, and a particular balloon has that style but is set to show two entries nevertheless, this will not be able to show the second entry. That's caused by an API limitation. We are planning to fix it.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 13:51:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13717745#M175994</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2025-07-09T13:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Overridden Balloons</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13721271#M176031</link>
      <description>&lt;P&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13972296"&gt;@gerardo_arellanoPYCV8&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hi, Did the information provided answer your question? If so, please use Accept Solution so that others may find this in the future. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 14:45:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13721271#M176031</guid>
      <dc:creator>CGBenner</dc:creator>
      <dc:date>2025-07-11T14:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Overridden Balloons</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13756282#M176468</link>
      <description>&lt;P&gt;Hello, good morning.&lt;BR /&gt;The macro is pulling the information from the BOM and not for the balloon manually created.&lt;BR /&gt;&lt;BR /&gt;The intention is to read the values for the balloons that were created manually and overridden.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 13:54:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13756282#M176468</guid>
      <dc:creator>gerardo_arellanoPYCV8</dc:creator>
      <dc:date>2025-08-06T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Overridden Balloons</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13763387#M176545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13972296"&gt;@gerardo_arellanoPYCV8&lt;/a&gt;&amp;nbsp;, the macro might not be complete in the case of overridden balloons. Can you post a small sample drawing in which it fails?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 02:23:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/overridden-balloons/m-p/13763387#M176545</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2025-08-12T02:23:59Z</dc:date>
    </item>
  </channel>
</rss>

