User Tools

Site Tools


api:cmd:create

cmd.create

“cmd.create” creates a new molecule object from a selection. It can also be used to create states in an existing object.

Parameters

cmd.create(string name, string selection, int state,
           int target_state, int discrete)

Implementation

def create(name, selection, source_state=0,
           target_state=0, discrete=0, zoom=-1, quiet=1,
           singletons=0, extract=None):

See Also

api/cmd/create.txt · Last modified: 2013/08/19 21:01 (external edit)