I am trying to control shade mode in the viewport in maya but I can't seem to figure out how to convert this mel to python. Any suggestions?
Mel:
modelEditor -edit -displayAppearance smoothShaded -activeOnly false modelPanel4;
Something like:
mc.modelEditor(edit=True, panel='modelPanel4', displayAppearance="smoothShaded", activeOnly=False)
Any help would be much appreciated.