Sys TopLevelModel
New to Analytica 6.5
SysVar Sys_TopLevelModel
A handle to the top-level user Model, LinkModule or LinkLibrary object.
In the event if is evaluated when no top-level object exists (all models, including the intro screen, are closed), it returns Null.
History
Prior to the introduction of this system variable, a variable within the model could find the top-level model using:
However this doesn't work when your library is placed into Orphans, since this would find the Orphans module, not the user's top-level model. Other hacks, for example using FindObjects are possible to find it, but are unnecessary now with this sysvar.
Comments
Enable comment auto-refresher