Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Doe anyone know how to access the Folded Model node in a sheet metal part, or how to find browser folders in a sheet metal part?
When I run this bit of code it comes back empty when looking for browser folders when the part is a sheetmetal part.
Dim oDoc As Document
oDoc = ThisApplication.ActiveDocument
'For Each Pane In oDoc.BrowserPanes
' oMsg = oMsg & vbLf & "Pane Name: " & Pane.name
'Next
'oMsg = oMsg & vbLf & "--------"
Dim oPane As BrowserPane
oPane = oDoc.BrowserPanes.Item("Model")
Dim oTopNode As BrowserNode
oTopNode = oPane.TopNode
oMsg = oMsg & vbLf & "Folder Count: " & oPane.TopNode.BrowserFolders.Count
For Each oFolder In oPane.TopNode.BrowserFolders
oMsg = oMsg & vbLf & "Folder Name: " & oFolder.name
Next
MessageBox.Show(oMsg, "ilogic")
standard part
same part converted to sheet metal
Solved! Go to Solution.