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

# Re: [FEMM] Femm 4.0 Post Processor scripting

- To: FEMM mailing list <femm@list.foster-miller.net>
- Subject: Re: [FEMM] Femm 4.0 Post Processor scripting
- From: David Meeker <dmeeker@ieee.org>
- Date: Wed, 28 Apr 2004 10:20:04 -0400
- In-reply-to: <8601C518E4705B479C5747CD6962FFEC2DC6E0@gwexchange.gwlisk.com>
- List-archive: <http://femm.foster-miller.net/pipermail/femm>
- List-help: <mailto:femm-request@list.foster-miller.net?subject=help>
- List-id: FEMM mailing list <femm.list.foster-miller.net>
- List-post: <mailto:femm@list.foster-miller.net>
- List-subscribe: <http://femm.foster-miller.net/mailman/listinfo/femm>, <mailto:femm-request@list.foster-miller.net?subject=subscribe>
- List-unsubscribe: <http://femm.foster-miller.net/mailman/listinfo/femm>, <mailto:femm-request@list.foster-miller.net?subject=unsubscribe>
- References: <8601C518E4705B479C5747CD6962FFEC2DC6E0@gwexchange.gwlisk.com>
- Reply-to: FEMM mailing list <femm@list.foster-miller.net>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 MultiZilla/1.6.0.0e

`Andy Reding wrote:`

> `Hello - I am in the process of converting my old version 3.3 lua scripts to work with Femm 4. In the version 3.3 post processor, there was an option to run the post processor minimized so that it didn't pop up on the screen and draw - this hiding saved me a lot of time. In the new version, I am opening the solution file so that I can process the results but I don't want to slow down the script with the display of the graphics. Is there a way to use the mi_loadsolution() so that the post processor window runs hidden/minimized? If not, I can modify the source code for the loadsolution command but I hate to tweak a developmnent version and then have the next update come out two days later! Any hints/undocumented arguments would be appreciated.`

>     Thanks,
>             Andy Reding

`Without thinking about it too much, I took the -windowhide functionality of v4, where loading the solution is just opening a new window instead of running a new process. Since it seems like this could still be a useful feature, I'll add it back in, probably as an optional parameter to mi_loadsolution (and ei_loadsolution).`
`For the moment, there are a couple of work-arounds. The simplest would be to go to the preferences and uncheck all boxes in the "contour plots defaults" and make sure that no density plot is performed by default. The output window will still draw, but it will draw very quickly.`
`I've recently added some new Lua commands to v4 for window manipulation, but it looks like I forgot to document them. They are:
mo_resize, mo_minimize, mo_maximize, and mo_restore, plus the corresponding mi_, ei_, and eo_ versions. These commands manipulate the way that windows are viewed displayed. If you are doing some sort of batch analysis where you are repeatedly loading results with the same file name, you can use mo_minimze to minimze the output window after it is first loaded. Be sure to never actually close the output window, but just use mo_reload or mi_loadsolution to load the new solution "on top" of the old one, rather than creating a new window. In this case, you will have to put up with a draw of the solution the first time through, but the output window will be subsequently minimized.`
`Dave.`

- References:
  - [FEMM] Femm 4.0 Post Processor scripting
    - From: "Andy Reding" <ATReding@GWLISK.com>

- Prev by Date: Re: [FEMM] lua addmaterial() parameters
- Next by Date: [FEMM] getpointvalues use
- Previous by thread: [FEMM] Femm 4.0 Post Processor scripting
- Next by thread: [FEMM] lua addmaterial() parameters
- Index(es):
  - Date
  - Thread