How to Delete and Insert Cut List via API

Cheers everyone!

Do you guys know how to delete and Insert cut list via API?

We do a complicated weldment profiles swap and unfortunatelly

UpdateCutList()

SetAutomaticUpdate(True)

don`t work.

We figured deleting and reinserting CutList does the job.

Any help appreciated.

SolidworksApi macros