From: Michail Palaiokostas Avramidis (m.palaiokostas_at_qmul.ac.uk)
Date: Tue Feb 25 2014 - 11:41:32 CST

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
----------------------------------------------------------