“as” turns on and off atom and bond representations.
The available representations are:
lines spheres mesh ribbon cartoon sticks dots surface labels extent nonbonded nb_spheres slice
as representation [, selection ]
representation = lines, spheres, mesh, ribbon, cartoon, sticks, dots, surface, labels, extent, nonbonded, nb_spheres, slice, extent, slice, dashes, angles, dihedrals, cgo, cell, callback, or everything
selection = string {default: all}
as lines, name ca or name c or name n as ribbon
“selection” can be an object name “as” alone will turn on lines and nonbonded and hide everything else.