<![CDATA[Multiwfn forum / Regarding your highly valuable VMD script you kindly introduced me.]]> //www.umsyar.com/wfnbbs/viewtopic.php?id=1452 The most recent posts in Regarding your highly valuable VMD script you kindly introduced me.. Sat, 29 Jun 2024 10:01:58 +0000 FluxBB <![CDATA[Re: Regarding your highly valuable VMD script you kindly introduced me.]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=4330#p4330

Dear Tian,
Thank you very very much my nice friend.
While my problem is still not resolve and I am completely confused, I am extremely ashamed of you so that I do not intend to take your valuable time more on this topic. Many many thanks for your kind attention.

Sincerely,
Saeed

dummy@example.com (saeed_E) Sat, 29 Jun 2024 10:01:58 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=4330#p4330
<![CDATA[Re: Regarding your highly valuable VMD script you kindly introduced me.]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=4329#p4329

Dear Saeed,

That script in //www.umsyar.com/197 just defined a user-defined command "atmlab", if you do not run this command, nothing will happen. As described in this article, if you run e.g. "atmlab all 3", then labels of all atoms of the system with ID=3 will be shown.

Tian

dummy@example.com (sobereva) Sat, 29 Jun 2024 09:43:43 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=4329#p4329
<![CDATA[Re: Regarding your highly valuable VMD script you kindly introduced me.]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=4327#p4327

Dear Tian,
Thank you very very much, my nice friend.
I examined both approaches you mentioned, while the first does not work, the second does not reflect any output. Indeed, I included all commands of your script in a text files namely "numbering.tcl" and, when I use "source /home/saeed/VMD/numbering.tcl" in the VMD console, nothing is happened; that is, no atomic numbers is shown!
I would be highly grateful if you kindly guide me.

Sincerely,
Saeed

dummy@example.com (saeed_E) Sat, 29 Jun 2024 06:47:57 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=4327#p4327
<![CDATA[Re: Regarding your highly valuable VMD script you kindly introduced me.]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=4326#p4326

Dear Saeed,

There are two ways of running VMD script, they are equivalent:
(1) Directly copy all content from the script to VMD console window
(2) Run "source /aaa/bbb.tcl" in VMD console window, where /aaa/bbb.tcl denotes the actual path of the script file.

Best,

Tian

dummy@example.com (sobereva) Sat, 29 Jun 2024 00:18:05 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=4326#p4326
<![CDATA[Regarding your highly valuable VMD script you kindly introduced me.]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=4323#p4323

Dear Tian,
You mentioned that a script should be executed in the command windows. Please let me know you mean that I should copy all lines of this script into a text file, then change the prefix to sh and change permission to "x" and finally ran it in the main window of VMD. Is it correct? Could you please make me guide; I am so poor in Linux.

Sincerely,
Saeed

dummy@example.com (saeed_E) Fri, 28 Jun 2024 22:47:31 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=4323#p4323
Baidu
map