[gme-users] Getting current filename or database connection string from within interpreter

Peter Volgyesi peter.volgyesi at vanderbilt.edu
Tue Oct 14 16:54:58 CDT 2008


You can use the 'getProjectPath()' method of the Project object.
I cannot answer your second question, sorry.
--
peter



On Tue, Oct 14, 2008 at 4:19 PM, Gramatges, David (US SSA)
<david.gramatges at baesystems.com> wrote:
> Is there a good way of getting the current filename (.mga file) being used
> or database connection string being used from within Component:invokeEx()
> (GME interpreter)?  I would like to pass this result as the systemname
> argument for Udm::SmartDataNetwork::OpenExisting().
>
>
>
> Alternatively, is there a good way of using the Project reference passed
> into Component::invokeEx() to achieve the same effect?
>
>
>
> What is the best way of using generated code from GReAT within a GME
> interpreter?
>
>
>
> Thanks,
>
> Dave
>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
>


More information about the gme-users mailing list