Share

ComponentOccurrence.SubOccurrences Property

Parent Object: ComponentOccurrence

Description

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 ComponentOccurrencesEnumerator

Property 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.

Version

Introduced in version 4

Was this information helpful?