Scripting the Trim command

 From:  Michael Gibson
8786.11 In reply to 8786.10 
Hi yakas,

re:
> Anyway, I can't find the above post so is it possible to have a hotkey just jump
> right into adding trim points on a selected curve?

It's possible in the v4 beta - there's a new mechanism in v4 for automatically activating UI controls within a command. For "Add trim points" put this on a shortcut key:

Trim addtrimpoints

That will automatically push the "Add trim points" button when it shows up.

Some other ways to control the Trim command are:

Trim addtrimpoints removekeepmode=keep

Trim addtrimpoints removekeepmode=remove

Trim isocurve isodir=u

Trim isocurve isodir=v

- Michael