Jump to content

Load CGO

From PyMOL Wiki
Revision as of 01:50, 14 February 2022 by Jaredsampson (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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