@Breeder
Weird Indeed,
But you can make the take active and the item as only selected and run the Remove active take action,
Or use mpl XML take parser
https://github.com/ReaTeam/ReaScript...TakeChunks.lua
Note that SWS could theorically bring this API function cause there is already some BR (:P) functions to delete takes, here is an extract:
Code:
SNM_TakeParserPatcher takePatcher(mouseInfo.GetItem());
takePatcher.RemoveTake(mouseInfo.GetTakeId());