Message 1 of 1
copy component/occurrence + paste new via the API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is the "paste new" functionality (as mentioned at https://youtu.be/yvCHb3DRNrw?t=719) exposed via the API? I can't seem to find it.
As a work around, I'm manually duplicating the occurrence tree, and using, e.g. bRepBody.copyToComponent to copy the bodies over. I've got this working, but it's turning out to be slower than I would like.
I'm familiar with Component.occurrences.addExistingComponent, but I want an independent copy of the occurrence.