I am creating a plugin for premiere with UXP, and need to make cuts to my clips at specified timestamps. My understanding so far is that I need to alter either the inPoint/outPoint or startTime/endTime of a clip. However, I will need to cut the same clip into many segments, so I don’t want to alter the clip without cloning it first. However, while I know how to clone the sequence, I do not see where to clone a clip. I am really at a road block here, so any help is truly appreciated. Thanks!
Edit: I have now been able to use SequenceEditor to clone my clip, however if I want to create several clips out of the original, will I need to repeatedly clone the original clip, one for each new clip? I am also still having issues setting the inPoint and outPoint on any trackItem. I saw in older posts on this forum that createSetInPointAction and createSetOutPointAction were broken for trackItem, but worked for ClipProjectItem, so I have am now attempting to cast my trackItem clip to ClipProjectItem. Any pointers, tips, or confirmation that I am on the right track would be so helpful. Thanks again!