VMD-L Mailing List
From: Michail Palaiokostas Avramidis (m.palaiokostas_at_qmul.ac.uk)
Date: Tue Feb 25 2014 - 12:35:11 CST
- Next message: Massimiliano Porrini: "issue(s) with ffTK of vmd-1.9.2a35"
- Previous message: Maxim Belkin: "Re: Nanostructure Plugin from TCL Script"
- In reply to: Maxim Belkin: "Re: Nanostructure Plugin from TCL Script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
@Maxim
that solves the problem! Thank you very much for the prompt answer!
@Harish
I have tried it but without the "package require nanotube" doesn't work
Thank you both of you for your time,
Best Regards,
Michalis
________________________________________
From: Maxim Belkin <mbelkin_at_ks.uiuc.edu>
Sent: Tuesday, February 25, 2014 6:15 PM
To: Michail Palaiokostas Avramidis
Cc: vmd-l
Subject: Re: vmd-l: Nanostructure Plugin from TCL Script
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: Massimiliano Porrini: "issue(s) with ffTK of vmd-1.9.2a35"
- Previous message: Maxim Belkin: "Re: Nanostructure Plugin from TCL Script"
- In reply to: Maxim Belkin: "Re: Nanostructure Plugin from TCL Script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]