08-31-2021
02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-31-2021
02:51 AM
Hi there,
For your "type" = "laser" below rule would work fine, you may replace the strings as per your need for further requirements.
Dim oAsmCompDef As AssemblyComponentDefinition oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition Dim oOccurrence As ComponentOccurrence For Each oOccurrence In oAsmCompDef.Occurrences If iProperties.Value(oOccurrence.Name, "Custom", "type") = "laser" oOccurrence.Visible = False Else End If Next
Bhavik Suthar