<?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 How to differentiate between Cable and Harness Assemblies/Parts in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-differentiate-between-cable-and-harness-assemblies-parts/m-p/13049077#M172282</link>
    <description>&lt;P&gt;I am currently traversing a model that contains Cable and Harness components. I would like to differentiate whether an assembly or part is of the Cable and Harness type. Can anyone assist me with this?&lt;/P&gt;&lt;P&gt;Please refer attached image for your reference.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cable and harness in model browser.png" style="width: 268px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1415021i859ACDA3B015A68D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cable and harness in model browser.png" alt="Cable and harness in model browser.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 06:54:54 GMT</pubDate>
    <dc:creator>pts.user2</dc:creator>
    <dc:date>2024-09-27T06:54:54Z</dc:date>
    <item>
      <title>How to differentiate between Cable and Harness Assemblies/Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-differentiate-between-cable-and-harness-assemblies-parts/m-p/13049077#M172282</link>
      <description>&lt;P&gt;I am currently traversing a model that contains Cable and Harness components. I would like to differentiate whether an assembly or part is of the Cable and Harness type. Can anyone assist me with this?&lt;/P&gt;&lt;P&gt;Please refer attached image for your reference.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cable and harness in model browser.png" style="width: 268px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1415021i859ACDA3B015A68D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cable and harness in model browser.png" alt="Cable and harness in model browser.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 06:54:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-differentiate-between-cable-and-harness-assemblies-parts/m-p/13049077#M172282</guid>
      <dc:creator>pts.user2</dc:creator>
      <dc:date>2024-09-27T06:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to differentiate between Cable and Harness Assemblies/Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-differentiate-between-cable-and-harness-assemblies-parts/m-p/13049175#M172288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12477547"&gt;@pts.user2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this purpose you can use&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-F8585C48-788B-40AE-9FE1-DFC12161B029" target="_blank"&gt;DocumentInterests&lt;/A&gt;. Variable&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;cableAndHarnessId&lt;/STRONG&gt;&lt;/EM&gt; contains &lt;EM&gt;&lt;STRONG&gt;ClientId&lt;/STRONG&gt;&lt;/EM&gt; of Cable and Harness addin.&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim asm As AssemblyDocument = ThisDoc.Document
Dim cableAndHarnessId As String = "{C6107C9D-C53F-4323-8768-F65F857F9F5A}"
For Each refDoc As Document In asm.AllReferencedDocuments
	If refDoc.DocumentInterests.HasInterest(cableAndHarnessId) Then
		'This is cable and harness document
		Logger.Debug(refDoc.DisplayName)
	End If
Next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 07:49:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-differentiate-between-cable-and-harness-assemblies-parts/m-p/13049175#M172288</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2024-09-27T07:49:22Z</dc:date>
    </item>
  </channel>
</rss>

