[xcrysden] How to change Ball/Stick ratio with scripting?

Tone Kokalj xcrysden@democritos.it
Thu, 31 May 2007 10:57:46 +0200


On Thu, 2007-05-31 at 14:16 +0600, Dmitry Korotin wrote:
> Well, thank you for your detailed answer, but
> 
> I want to do the same things using tcl scripting!

Here is a clever trick (which is due to Hande Ustunel) of how to achive
an X feature with scripts. It involves three steps:

1. Open the file you are interested, but keep the X feature off. Then
save the *.xcrysden script (File-->Save Current State and Structure).

2. Turn the X feature on, and again save the *.xcrysden script (under
different filename of course)

3. compare the two files with you favorit "diff" program: you will see
how they differ.

Use this info in your script. 

Regards, Tone