Removing an influence from skinCluster with python

Hi,

I’m struggling with removing an influence from a skinCluster using Python. In .mel I can use this:
skinCluster -e -ri LeftToe skinCluster1;
When I try this in python:
cmds.skinCluster ( ‘skinCluster1’ , ‘LeftToe’ , ri = ‘True’ )
I get the following error:
# Error: RuntimeError: Cannot use the add/remove influence flags when creating a skinCluster. #

Any suggestions on what I’m doing wrong?

Much Thanks!

PS. in the .mel : skinCluster -e -ri LeftToe skinCluster1; were is –e documented? I’m assuming it’s a command class type thing, but how do I find what it means?

e = True

for “editing” existing stuff

q = True

for “querying” existing stuff

Ahhh, makes total sense. So, the correct answer is:

cmds.skinCluster ( ‘skinCluster1’ , ri=‘LeftToe’ , e=True )

Much Thanks!