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

RE: [femm] Default view settings



Thanks, Dave,

I am looking forward for those implementations.

Carl

-----Original Message-----
From: David Meeker [mailto:dmeeker@xxxxxxxxxxxxxxxxx] 
Sent:	Monday, 11 February 2002 15:52
To:	femm@xxxxxxxxxxxxxxx
Subject:	Re: [femm] Default view settings

<< File: Card for David Meeker >> 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 itwas 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 isthe 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 defaultto size 0.1 on open.
>
> I think it would be good idea to have grid control through the Lua scripttoo 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


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/