11-01-2017
12:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-01-2017
12:00 PM
Sorry, I typoed. Try this one instead:
oCompDef = ThisDoc.Document.ComponentDefinition
oAssyOccurrences = ThisDoc.Document.ComponentDefinition.Occurrences
iLogicVb.RunRule("Test")
Dim oOccurrence As ComponentOccurrence
For Each oOccurrence In oAssyOccurrences
If oSubOccurrence1.DefinitionDocumentType = DocumentTypeEnum.kAssemblyDocumentObject Then
iLogicVb.RunRule(oSubOccurrence1.Name,"Test")
End If
Next