#--- Python proof e-mail ;) ---

# Hi Aaron,

# You can get to the coordinates in the following way:

# First make a model from the selection you want to work on:

sel = cmd.get_model( object )

# Then you can get to the coordinates and modify them without affecting the
view:

for i in range(len(sel.atom)):
  sel.atom[i].coord = transform( sel.atom[i].coord )

# When all is done, you can load the coordinates back into the model:

cmd.load_model( sel, object, state )

# Hope it helps,

# Tsjerk

#--
# Tsjerk A. Wassenaar, Ph.D.
# Junior UD (post-doc)
# Biomolecular NMR, Bijvoet Center
# Utrecht University
# Padualaan 8
# 3584 CH Utrecht
# The Netherlands
# P: +31-30-2539931
# F: +31-30-2537623

Reply via email to