Dear FEMAP users,
I've run FEMA model with bas.file via window command line:
ex) c:\FEMAPv11>femap.exe -prg FEMAP_Post_Processing.bas
After process complted, I would like to close FEMAP GUI using window command line (I do not need to save the model),
Is there anyway to close it via window command line??
Solved! Go to Solution.
From the command line the only way I could think of doing it is to kill the process and wrap that up into a batch file, but that's certainly not ideal. Since you're already running an API, simply add an feFileExit call to the end of the API.
The HTML Clipboard
Sub Main Dim App As femap.model Set App = feFemap() Dim fn As femap.Node Set fn = App.feNode fn.Put( 1 ) App.feFileClose( False ) App.feFileExit() End Sub
There's two ways:
App.feAppVisible( False ) App.feFileWriteAbaqus( 0, "c:\scratch\test.inp") App.feAppVisible( True )
nPrev = App.DialogAutoSkipMsg App.DialogAutoSkipMsg = 1 App.feFileWriteAbaqus( 0, "c:\scratch\test.inp") App.DialogAutoSkipMsg = nPrev
Thanks for your command and it works exactly what I want.
So now, I can map on an imported model from source model and then, generated ABAQUS input file with Node temperature!!!!