Attach: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
==PYMOL API==
==PYMOL API==
  cmd.attach( element, geometry, valence )
  cmd.attach( element, geometry, valence )
== ARGUMENTS ==
* element = string: element name (symbol) of the added atom. Case-sensitive.
* geometry = int: geometry (steric number) of added atom.
* valence = int: valence of the added atom.


==NOTES==
==NOTES==

Revision as of 12:02, 6 December 2021

attach adds a single atom onto the picked atom.

USAGE

attach element, geometry, valence

PYMOL API

cmd.attach( element, geometry, valence )

ARGUMENTS

  • element = string: element name (symbol) of the added atom. Case-sensitive.
  • geometry = int: geometry (steric number) of added atom.
  • valence = int: valence of the added atom.

NOTES

Immature functionality. See code for details.