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

Re: [femm] Default view settings



Whoops--

What I meant to say is that the reason that view settings aren't saved in the *.fem file the way things currently are done. When you open up a file, it zooms the view so that the entire geometry is on the screen and picks a grid size that is "suitable" for the initial view.

I guess that view settings could be stored inside *.fem files. An interesting way to do this might be by embedding some Lua scripting inside the *.fem files. This could handle view information, as well as whatever other sorts of initialization operations might be desired. The other grid-related commands would have to be implemented in Lua, which wouldn't be that big a deal to do.

Dave.


Carl Kopin wrote:

> Dear C.Prem Kumar,
>
> Thanks, I did all that before, This is true for new blank window ONLY! And it is OK. But the newly created drawing should keep the grid size that it was created with, not the new window default.
>
> The problem is that the preferred grid size does not stay with new created and saved drawing. For example, I created new drawing with 0.1 mm grid size (set in preferences) and as soon I saved it, closed it and opened it again the default grid size has changed to 1 mm (WHY?) regardless of preference setting. What the drawing should default to upon opening it is not the grid size setting in the preferences but drawing setting upon saving. That is the problem that I have described originally. The similar problem is with the post-processor that should open the answer window with the settings that were set while solving the problem.
>
> There is even worse case where the default grid size was 10 and I have created drawings with grid manually set to 0.1 mm; now when I open them they always default to grid size 10! And I am not able to change them to default to size 0.1 on open.
>
> I think it would be good idea to have grid control through the Lua script too for both, pre- and post-processor. When I need to make changes I have to change manually the grid size every time after reloading the drawing either manually or through the Lua script.
>
> Thanks, but the problem still remains unchanged.
> Carl

begin:vcard 
n:Meeker;David
tel;fax:781-890-3489
tel;work:781-684-4070
x-mozilla-html:TRUE
url:http://www.foster-miller.com
org:Foster-Miller, Inc.;Electrical and Electronic Systems Group
adr:;;350 Second Avenue;Waltham;MA;02451;USA
version:2.1
email;internet:dmeeker@xxxxxxxxxxxxxxxxx
title:Senior Engineer
fn:David Meeker
end:vcard