Would it be feasible to change the CSS a bit so that the ‘PHP’ tags (which are usually really usuful to read markup) are not so hard on the eyes (especially the green/red on gray bg)
here’s what it looks like:
def stereo_cam():
windo = cmds.window(h=800,w=800,t="New Viewport")
cmds.paneLayout()
existing = cmds.ls()
maya.mel.eval('stereoCameraCBwrapper("stereoCameraRig","createStereoCameraRig(rigName=\'StereoCamera\')")')
cams = []
for obj in cmds.ls():
if obj not in existing:
if obj not in cams:
cams.append(obj)