Derived from: BaseComponent.allOccurrencesByComponent
Returns all occurrences, at any level of the assembly, that reference the specified component. The returned list is read-only.
"component_var" is a variable referencing a Component object. |
"component_var" is a variable referencing a Component object. |
"component_var" is a variable referencing a Component object. |
| Type | Description |
| OccurrenceList | The occurrences referenced by the specified component. |
| Name | Type | Description |
| component | Component | The component that is being referenced by the occurrences that will be returned. |
| Name | Description |
| Delete Empty Components | Demonstrates deletes empty components from the active design. Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground. Use a design with assembly structure (components/occurrences) when the script reads existing geometry; some scripts create their own assembly. |