Share

ComponentDefinition.Occurrences Property

Parent Object: ComponentDefinition

Description

Property that returns the collection object.

Syntax

ComponentDefinition.Occurrences() As ComponentOccurrences

Property Value

This is a read only property whose value is a ComponentOccurrences.

Samples

Name Description
Adding iAssembly occurrences This sample demonstrates adding iAssembly occurrences to an assembly.
Adding iPart occurrences to an assembly This sample demonstrates adding iPart occurrences to an assembly.
Assembly Add Occurrence This sample demonstrates placing an assembly occurrence.
Interference Analysis This sample demonstrates the functions used to calculate interference analysis in an assembly.
Add mate constraint using work planes in parts This sample demonstrates creating a mate constraint between two occurrences using the work planes within those occurrences.
Traverse an Assembly This sample shows how to recursively traverse an assembly and get the count of leaf node components and subassemblies.

Version

Introduced in version 4

Was this information helpful?