Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have add-in with command which does this:
design = adsk.fusion.Design.cast(app.activeProduct)
timeline = design.timeline
for selection in ui.activeSelections:
selectedEnt = selection.entity
timelineObj = selectedEnt.timelineObject
timelineObj.parentGroup.deleteMe(False)
Various checks are removed for brevity. Only one entity is selected, it's inside of timeline group, but I get
File "…/adsk/fusion.py", line 95662, in deleteMe
return _fusion.TimelineGroup_deleteMe(self, deleteGroupAndContents)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: 2 : InternalValidationError : res
Solved! Go to Solution.