Deletes the occurrence from the design. If this is the last occurrence referencing a specific Component, the component is also deleted.
"occurrence_var" is a variable referencing an Occurrence object. |
"occurrence_var" is a variable referencing an Occurrence object. |
"occurrence_var" is a variable referencing an Occurrence object. |
| Type | Description |
| boolean | Returns true if the delete was successful. |
| 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. |