09-27-2024
12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-27-2024
12:49 AM
Hi @pts.user2
For this purpose you can use DocumentInterests. Variable cableAndHarnessId contains ClientId of Cable and Harness addin.
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