VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Thu Sep 07 2006 - 11:51:01 CDT
- Next message: dimka: "Re: pass variables from the shell to VMD"
- Previous message: Christian Fufezan: "pass variables from the shell to VMD"
- In reply to: Christian Fufezan: "pass variables from the shell to VMD"
- Next in thread: dimka: "Re: pass variables from the shell to VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On 9/7/06, Christian Fufezan <christian_at_fufezan.net> wrote:
>
> Hello,
>
> is it possible to pass some variable from the shell to be used in VMD?
>
> e.g.
> vmd -e ~~/.vmdrc_new -axpos upperright
>
> and in .vmdrc_new something like
>
> axes location $axpos
yep.
start vmd with:
env VMDAXPOS=upperright vmd -e ~/.vmdrc_new
and then add to .vmdrc_new
if { [info exists env(VMDAXPOS)] } {
axes location $env(VMDAXPOS)
}
cheers,
axel.
>
>
>
> Thanks for your help
> cf.
>
>
>
>
> Christian Fufezan, PhD
> Physics Department J419
> City College of New York
> 160 Convent Ave
> New York, NY 10031
>
> Tel. ++1-212-650-6872
> Fax. ++1-212-650-6940www.fufezan.net
>
>
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
- Next message: dimka: "Re: pass variables from the shell to VMD"
- Previous message: Christian Fufezan: "pass variables from the shell to VMD"
- In reply to: Christian Fufezan: "pass variables from the shell to VMD"
- Next in thread: dimka: "Re: pass variables from the shell to VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]