# set '''name''' to '''value'''
set name, [,value [,object-or-selection [,state ]]]
# alternative way to do the above.
set name = value # (DEPRECATED)
cmd.set ( string name,
string value=1,
string selection='',
int state=0,
int updates=1,
quiet=1)
set surface_color, red
set ray_trace_mode, 3
set ribbon_width, 4
# set the label size to 2Ang.
set label_size, -2
The default behavior (with a blank selection) changes the global settings database. If the selection is 'all', then the settings database in all individual objects will be changed. Likewise, for a given object, if state is zero, then the object database will be ..→