Load CGO

From PyMOLWiki
Revision as of 20:50, 13 February 2022 by Jaredsampson (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

cmd.load_cgo() loads Compiled Graphics Objects into the PyMOL session. CGOs are defined by lists of floating point numbers that define either a series of triangles/vertices and colors, or one of several predefined sequences that describe mathematical shapes.

PYMOL API

cmd.load_cgo(object, name)

ARGUMENTS

  • object : list of floats Coordinate data for the CGO.
  • name : string Name of the object (for the internal GUI)

SEE ALSO

CGO Shapes