OpenWGA 7.11 - TMLScript reference
WGAMethod :
plugin(uniqueName)
plugin(pluginDb)
On object | WGA |
Usage | Returns a Plugin object for any OpenWGA plugin |
Description |
This method can be used to retrieve information about any installed and active OpenWGA plugin. Either use the plugin unique name or the plugin database as parameter. For backward compatibility there still is are methods "plugindb()" and "pluginid()" available on TMLContext, who provided equal functionality and whose use is discouraged since OpenWGA 5.3. |
Parameters |
Variant 1: uniqueName (String): The unique name of the plugin Variant 2: pluginDB (WGAPI database object): The database of the plugin application. This will not work with the database of the design consumer of a plugin. Use Design.plugin() in that case. |
Return value | A Plugin object representing the requested plugin or null if there is no plugin for the given name or db |
Allowed in script types |
|