VMD-L Mailing List
From: Maxim Belkin (mbelkin_at_ks.uiuc.edu)
Date: Tue Feb 25 2014 - 12:15:49 CST
- Next message: Michail Palaiokostas Avramidis: "RE: Nanostructure Plugin from TCL Script"
- Previous message: Michail Palaiokostas Avramidis: "Nanostructure Plugin from TCL Script"
- In reply to: Michail Palaiokostas Avramidis: "Nanostructure Plugin from TCL Script"
- Next in thread: Michail Palaiokostas Avramidis: "RE: Nanostructure Plugin from TCL Script"
- Reply: Michail Palaiokostas Avramidis: "RE: Nanostructure Plugin from TCL Script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Michail,
Add the following command in the beginning of your graphene.tcl:
package require nanotube
Maxim
On Feb 25, 2014, at 11:41 AM, Michail Palaiokostas Avramidis <m.palaiokostas_at_qmul.ac.uk> wrote:
> Hi all,
>
> I have a tcl script where I make a graphene sheet using the nanostructure builder plugin as:
> graphene -lx $lengthX -ly $lengthY -type armchair -nlayers 1 -b 1 -a 1 -d 1 -i 1
>
> When I run the script from the command line as:
> vmd -e graphene.tcl
> everything works as it should.
>
> However, when I suppress the VMD window as:
> vmd -e graphene.tcl -dispdev text
> I get the following error:
> invalid command name "graphene"
>
> Do you know why this happens? Probably I should load the plugin as a package but I cannot find anywhere what is the name of the package. Any ideas?
>
> Thank you in advance for your time,
>
> Kind Regards,
> Michalis Palaiokokostas
>
> ---------------------------------------------------------
> PhD Student
> Queen Mary, University of London
> School of Engineering and Materials Science
> ----------------------------------------------------------
- Next message: Michail Palaiokostas Avramidis: "RE: Nanostructure Plugin from TCL Script"
- Previous message: Michail Palaiokostas Avramidis: "Nanostructure Plugin from TCL Script"
- In reply to: Michail Palaiokostas Avramidis: "Nanostructure Plugin from TCL Script"
- Next in thread: Michail Palaiokostas Avramidis: "RE: Nanostructure Plugin from TCL Script"
- Reply: Michail Palaiokostas Avramidis: "RE: Nanostructure Plugin from TCL Script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]