ComponentOccurrence.SubOccurrences Property
Parent Object: ComponentOccurrenceDescription
Property that returns the collection of occurrences for an occurrence. This property applies to occurrences that represent a subassembly. The collection returned provides access to the occurrences contained within the subassembly. If this collection is obtained from an occurrence that represents a part, it will not contain any occurrences.
Syntax
ComponentOccurrence.SubOccurrences() As ComponentOccurrencesEnumeratorProperty Value
This is a read only property whose value is a ComponentOccurrencesEnumerator.Samples
Name | Description |
Traverse an Assembly | This sample shows how to recursively traverse an assembly and get the count of leaf node components and subassemblies. |
Promote occurence | This sample demonstrates how to promote an occurrence. |