[cad-linux] Re: database access methods

On Fri, May 16, 2003 at 11:58:02AM -0400, Jim Parker wrote:
> For example:  When you launch GtkCAD, you can specify on the cmd line 
> which mode to start (it will also be handled by an rc file).  So lets 
> say we specify the Naval Architecture mode.  At launch GtkCAD parses 
> the cmdline switches and loads the Naval Architecture plug-in.  This 
> allows the appropiate dialogs to be displayed when menu items are 
> chosen.  So when you create a new hull design the extended tables 
> needed are created in the DB and populated appropiately, by the Naval 
> Architecture plug-in.  The naval mode then handles the extended API 
> needed for the analysis modules.  For example when I calculate the 
> static properties using the hydrostatics module.

What would be really great would be dynamically loadable modules
controlled by metadata in the drawing file so that when a file is
loaded, it loads any required modules, and when the file is closed it
unloads the modules it loaded.

-Lee

Other related posts: