Defining a polySoftEdge angle

This works

cmds.polySoftEdge(a=0)

so does this:

def softnormals(*args):
   mel.eval('polySoftEdge;')

but how would i define the angle? for example I thought this would work but it doesnt? the “def softnormals” is the button that is linking to QT:

def softnormals(*args):
   mel.eval('polySoftEdge(a=180);')

Does this work?

def softnormals(*args):
   cmds.polySoftEdge(a=180)

Nope. I tried this but the history just plays it back. Nothing actually happens :confused:

Is anything selected? Is the function actually being called? Maybe you could put in a test print statement to confirm these things.