Occurrences.asList Property
Parent Object: OccurrencesDefined in namespace "adsk::fusion" and the header file is <Fusion/Components/Occurrences.h>
Description
Returns the contents of this collection as an OccurrencesList object. This is useful when writing a function that traverses an assembly.
Syntax
"occurrences_var" is a variable referencing an Occurrences object. |
Property Value
This is a read only property whose value is an OccurrenceList.Samples
| Name | Description |
| Assembly traversal using recursion API Sample | Traverses the entire structure of the currently open assemlby using a recursive function and displays the result in a message box. This will match the occurrence structure seen in the browser. |
