03-06-2021
02:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-06-2021
02:50 AM
Hello
No, there are BrowserNodes between, but they are invisible. Between your folder and the origin are at least the Positional Representation and the End of Element Nodes. I use a localized german version, so I can't tell you the right name of the nodes. You can check this with this little iLogic Script
Dim oDoc As AssemblyDocument
oDoc = ThisApplication.ActiveDocument
Dim oAsmCompDef As AssemblyComponentDefinition
oAsmCompDef = oDoc.ComponentDefinition
Dim oPane As BrowserPane
oPane = oDoc.BrowserPanes.ActivePane
Dim oDocNode As BrowserNode
oDocNode = oPane.TopNode
Dim oNode As BrowserNode
Dim bVisible As Boolean
For Each oNode In oDocNode.BrowserNodes
bVisible=oNode.Visible.ToString
MsgBox("Name: " & oNode.BrowserNodeDefinition.Label & vbCrLf & "Visible: " & bVisible, , "NodeNames")
Next
R. Krieg
RKW Solutions
www.rkw-solutions.com