- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My script creates a combine feature with isNewComponent set to True. It then exports the component created by the combine feature and deletes the combine feature. The geometry contained in the component created by the combine disappears when I delete the combine, but the component itself (as shown in the browser) does not go away. This is a problem because my script repeats this proces 100s of times which fills up the timeline and browser with new components and slows Fusion to a crawl.
I grabbed the occurrence object via the timeline and called .deleteMe on it, but this didn't fix the problem.
timeline = templateDesign.timeline
tempFeature = timeline.item(timeline.markerPosition - 1).entity
tempFeature.deleteMe()
Calling deleteMe got rid of the occurence in the browser but it didn't get rid of the new component feature in the timeline and it also added a "remove instance" feature to the timeline. How do I "delete" the occurence, not "remove" it?
Solved! Go to Solution.