Difference between revisions of "Attach"

From PyMOLWiki
Jump to navigation Jump to search
(Add an example)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
DESCRIPTION
 
"attach" adds a single atom onto the picked atom.
 
  
USAGE
+
'''attach''' adds a single atom onto the picked atom.
  attach element, geometry, valence
 
  
PYMOL API
+
==USAGE==
  cmd.attach( element, geometry, valence )
+
attach element, geometry, valence
  
NOTES
+
==PYMOL API==
  Immature functionality. See code for details.  
+
  cmd.attach( element, geometry, valence )
  
[[Category:Commands|attach]]
+
== 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.
 +
 
 +
== EXAMPLE ==
 +
 
 +
<source lang="python">
 +
attach O, 1, 1 # adds an Oxygen atom to picked atom.
 +
</source>
 +
 
 +
==NOTES==
 +
Immature functionality.  See code for details.
 +
 
 +
[[Category:Commands|Attach]]
 +
[[Category:Editing Module|Attach]]

Latest revision as of 13:04, 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.

EXAMPLE

attach O, 1, 1 # adds an Oxygen atom to picked atom.

NOTES

Immature functionality. See code for details.