[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [femm] New FEMM user



>----- Original Message -----
>From: Eric Vogels
>To: femm@xxxxxxxxxxxxxxx
>Sent: Thursday, November 21, 2002 10:39 PM
>Subject: Re: [femm] New FEMM user


>Dear All.
>Since I received very good help the last time I wrote to this group, I like
to ask for some >help again.
>I attached a lua-script. This script is build by another application. The
result should be a >BMP file with the density plot.

>1. I want to run this LUA-script from the command line but I do not
understand how

C:\programmi\femm\bin\femme.EXE -lua-script=c:\YOURSCRIPT.lua


>2. When I start FemmEditor and run the script by hand everything works,
even the analyse >is made, but I cannot get FemmView to take over the job to
show (and save) the bitmap.
>Can someone please look into my file?
>Thanks in advance,
>Eric Vogels.

You have to write another lua script for the Femmview

[YOURSCRIPTFORPOST.lua]
showdensityplot(-1)
savebitmap("nomefile.bmp")

and append to your Femmeditor script the following lines:

runpost("YOURSCRIPTFORPOST.lua")
exitpre()



Good luck,
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
TMax
trovamax@xxxxxxxxx
º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤