04-02-2015
12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-02-2015
12:03 AM
Hi Georg,
you just need to iterate the occurrences of assembly document and get which one is dirty, and add them to your browser pane.
The below is a blog on how to create custom browser pane. It shows adding an Inventor document node to the custom pane.
As to iterate occurrences, the code could be:
Sub test()
Dim oDoc As AssemblyDocument
Set oDoc = ThisApplication.ActiveDocument
Dim oAssDef As AssemblyComponentDefinition
Set oAssDef = oDoc.ComponentDefinition
Dim oOcc As ComponentOccurrence
Dim oEachDoc As Document
For Each oOcc In oAssDef.Occurrences
Set oEachDoc = oOcc.Definition.Document
If oEachDoc.Dirty = True Then
'Add it to your browser pane
End If
Next
End Sub