I am looking for help with using the scripting in DS ViewerPro 5.0
I would like to annotate the atom and bond labels differently.
Here is the script I have so far:
#Tools/Labels/Add/Object=Atom/Attribute=ID/Font=Arial/Size=16/Color=Yellow (255,255,0)
label atom id
setproperty label atom: font face=Arial
setproperty label atom: font size=16
setproperty label atom: color=255 255 0
#Tools/Labels/Add/Object=Bond/Attribute=Length/Font=Arial Narrow/Size=12/Color=Green (0,255,0)
label bond length
setproperty label bond: font face=Arial Narrow
setproperty label bond: font size=12
setproperty label bond: color=0 255 0
The problem is that the second setproperty label commands overwrites all atomic labels.
Is there a way to separate the atoms and bonds?
Robert