06-09-2020
09:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-09-2020
09:35 AM
Thanks for the reply
i figure it out last night, i needed to make an occurrence and assign the browsernode to it
If oFolder.Name = "NOZZLE" Then
Dim oComp As ComponentOccurrence = RepNode.NativeObject
If oComp.DefinitionDocumentType = DocumentTypeEnum.kAssemblyDocumentObject Then
For Each SubComp As ComponentOccurrence In oComp.SubOccurrences
SubComp.Visible = False
Next
End If
End If
Thanks
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.