<?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: Multibody parts in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13244036#M6777</link>
    <description>&lt;P&gt;No... and yes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Balloon looks for Part properties, so don't waste too much effort making them look for anything else.&amp;nbsp; Leaders are generally the same - so neither option does what you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this old post shows how you can do what you ask:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/inventor-programming-ilogic/reference-solid-body-name-in-balloon-text/m-p/7865252/highlight/true#M82145" target="_blank"&gt;Solved: Re: Reference solid body name in balloon text? - Autodesk Community - Inventor&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the post is approaching the Autodesk 10-year cull policy, here (for the next 10 years hopefully) is code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note - you need to place balloons on the drawing of the multibody (they'll all show the same value).&amp;nbsp; Next select the balloons one at a time and run the rule.&amp;nbsp; The balloon text should update to reflect the body name.&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Sub Main()
	Dim oSS As SelectSet
	oSS = ThisApplication.ActiveDocument.SelectSet
	
	oSS.Item(1).BalloonValueSets.Item(1).OverrideValue = GetSolidName(oSS.Item(1))
	
End Sub

Function GetSolidName(oBalloon As Balloon) As String
	Dim oLeader As Leader
	oLeader = oBalloon.Leader
	
	Dim oNode As LeaderNode
	Dim oModelGeom
	For Each oNode In oLeader.AllNodes
		If Not (oNode.AttachedEntity Is Nothing)
			oModelGeom = oNode.AttachedEntity.Geometry.ModelGeometry
			Exit For
		End If
	Next
	
	If oModelGeom.Type = ObjectTypeEnum.kEdgeObject
		oSurfaceBody = oModelGeom.Faces.Item(1).SurfaceBody
	Else
		oSurfaceBody = oModelGeom.SurfaceBody
	End If
	
	GetSolidName = oSurfaceBody.Name
End Function  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ballooning solids.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1451308iF4E59F227E193B80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ballooning solids.gif" alt="Ballooning solids.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jan 2025 23:38:06 GMT</pubDate>
    <dc:creator>pcrawley</dc:creator>
    <dc:date>2025-01-05T23:38:06Z</dc:date>
    <item>
      <title>Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13243973#M6776</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there a way to callout the name of a body of a multibody part in the IDW drawings ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, is there a way&amp;nbsp; for teh ballon&amp;nbsp; callouts to identify the body ? Can the text Annotations be made to point to the body ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2025 22:30:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13243973#M6776</guid>
      <dc:creator>chachaman</dc:creator>
      <dc:date>2025-01-05T22:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13244036#M6777</link>
      <description>&lt;P&gt;No... and yes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Balloon looks for Part properties, so don't waste too much effort making them look for anything else.&amp;nbsp; Leaders are generally the same - so neither option does what you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this old post shows how you can do what you ask:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/inventor-programming-ilogic/reference-solid-body-name-in-balloon-text/m-p/7865252/highlight/true#M82145" target="_blank"&gt;Solved: Re: Reference solid body name in balloon text? - Autodesk Community - Inventor&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the post is approaching the Autodesk 10-year cull policy, here (for the next 10 years hopefully) is code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note - you need to place balloons on the drawing of the multibody (they'll all show the same value).&amp;nbsp; Next select the balloons one at a time and run the rule.&amp;nbsp; The balloon text should update to reflect the body name.&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Sub Main()
	Dim oSS As SelectSet
	oSS = ThisApplication.ActiveDocument.SelectSet
	
	oSS.Item(1).BalloonValueSets.Item(1).OverrideValue = GetSolidName(oSS.Item(1))
	
End Sub

Function GetSolidName(oBalloon As Balloon) As String
	Dim oLeader As Leader
	oLeader = oBalloon.Leader
	
	Dim oNode As LeaderNode
	Dim oModelGeom
	For Each oNode In oLeader.AllNodes
		If Not (oNode.AttachedEntity Is Nothing)
			oModelGeom = oNode.AttachedEntity.Geometry.ModelGeometry
			Exit For
		End If
	Next
	
	If oModelGeom.Type = ObjectTypeEnum.kEdgeObject
		oSurfaceBody = oModelGeom.Faces.Item(1).SurfaceBody
	Else
		oSurfaceBody = oModelGeom.SurfaceBody
	End If
	
	GetSolidName = oSurfaceBody.Name
End Function  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ballooning solids.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1451308iF4E59F227E193B80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ballooning solids.gif" alt="Ballooning solids.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2025 23:38:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13244036#M6777</guid>
      <dc:creator>pcrawley</dc:creator>
      <dc:date>2025-01-05T23:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13245617#M6778</link>
      <description>&lt;P&gt;Hello PCCrawley,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's very kind of you to dig this up and present it so helpfully !&amp;nbsp;&amp;nbsp; This really helped me !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All my gratitude and kindest regards !&amp;nbsp; HNY too !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again !&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 16:18:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13245617#M6778</guid>
      <dc:creator>chachaman</dc:creator>
      <dc:date>2025-01-06T16:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13245830#M6779</link>
      <description>&lt;P&gt;I will add that in the case of a larger number of shapes, it is worth creating a form to have the command close to the cursor and not have to travel around the screen every time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6366742688112w894h540r583" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6366742688112" data-account="6057940548001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6057940548001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6366742688112w894h540r583');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://forums.autodesk.com/t5/video/gallerypage/video-id/6366742688112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 18:08:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13245830#M6779</guid>
      <dc:creator>kacper.suchomski</dc:creator>
      <dc:date>2025-01-06T18:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13245954#M6780</link>
      <description>&lt;P&gt;That's a fan tastic tip ! Thx !!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:19:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13245954#M6780</guid>
      <dc:creator>chachaman</dc:creator>
      <dc:date>2025-01-06T19:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246013#M6781</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can you tell me what seeting in the forms dialog allows you to switch focus between the form and&amp;nbsp; the ballon ? Presently, when the form is displayed, I cannot select the balloon .....&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:43:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246013#M6781</guid>
      <dc:creator>chachaman</dc:creator>
      <dc:date>2025-01-06T19:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246021#M6782</link>
      <description>&lt;P&gt;Please change modal setting.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=GUID-40B1D589-4D0C-4B46-AB52-896F0C7D78F4" target="_blank"&gt;https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=GUID-40B1D589-4D0C-4B46-AB52-896F0C7D78F4&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:48:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246021#M6782</guid>
      <dc:creator>kacper.suchomski</dc:creator>
      <dc:date>2025-01-06T19:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246236#M6783</link>
      <description>&lt;P&gt;Thanks a million Kacper ! &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 21:56:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246236#M6783</guid>
      <dc:creator>chachaman</dc:creator>
      <dc:date>2025-01-06T21:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246276#M6784</link>
      <description>&lt;P&gt;Ok, if it's a competition for making it easier... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Modify the code as follows.&amp;nbsp; Now you can select &lt;U&gt;&lt;EM&gt;multiple&lt;/EM&gt;&lt;/U&gt; balloons - then run the code - and they all change &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Sub Main()
	Dim oSS As SelectSet
	oSS = ThisApplication.ActiveDocument.SelectSet
	Dim ObjB(oSS.Count) As Balloon
	NB = oSS.Count
		
	For i = 1 To oSS.Count
		ObjB(i)=oSS.Item(i)
		Logger.Debug(GetSolidName(oSS.Item(i)))
	Next
	
	For i = 1 To NB
		ObjB(i).BalloonValueSets.Item(1).OverrideValue = GetSolidName(ObjB(i))
	Next		
	
End Sub

Function GetSolidName(oBalloon As Balloon) As String
	Dim oLeader As Leader
	oLeader = oBalloon.Leader
	
	Dim oNode As LeaderNode
	Dim oModelGeom
	For Each oNode In oLeader.AllNodes
		If Not (oNode.AttachedEntity Is Nothing)
			oModelGeom = oNode.AttachedEntity.Geometry.ModelGeometry
			Exit For
		End If
	Next
	
	If oModelGeom.Type = ObjectTypeEnum.kEdgeObject
		oSurfaceBody = oModelGeom.Faces.Item(1).SurfaceBody
	Else
		oSurfaceBody = oModelGeom.SurfaceBody
	End If
	
	GetSolidName = oSurfaceBody.Name
End Function  &lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 06 Jan 2025 22:28:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246276#M6784</guid>
      <dc:creator>pcrawley</dc:creator>
      <dc:date>2025-01-06T22:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246288#M6785</link>
      <description>&lt;P&gt;I love this kind of competition&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 22:34:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246288#M6785</guid>
      <dc:creator>kacper.suchomski</dc:creator>
      <dc:date>2025-01-06T22:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246396#M6786</link>
      <description>&lt;P&gt;Awesome !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I buy you a coffee !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 00:05:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246396#M6786</guid>
      <dc:creator>chachaman</dc:creator>
      <dc:date>2025-01-07T00:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multibody parts</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246437#M6787</link>
      <description>&lt;P&gt;You just did &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to do this myself once and thought about coding it - but I was too lazy and just over-rode the text manually.&amp;nbsp; Today I was thrown a project where everything has been modelled as a single multi-body part - so this routine has been sooooooooooooooooooooo helpful - so thanks for making me less lazy!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seriously though, it's a great question and probably should be a "standard feature" - like having iProperties on individual solid bodies and letting the drawing tools recognise those body-properties.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 00:41:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/multibody-parts/m-p/13246437#M6787</guid>
      <dc:creator>pcrawley</dc:creator>
      <dc:date>2025-01-07T00:41:11Z</dc:date>
    </item>
  </channel>
</rss>

