Script template for derivation scripts for tag definitions
There are no functions that are specifically for use with Derivation scripts.
Key:
Remarked variable names at the top of the file are available in all functions underneath except where stated.
Remarked variable names immediately above functions are only available in those functions (or subfunctions called).
The comment line '---Context change--- indicates that script is unloaded and reloaded here between function calls - this means that script scoped variables cannot be used to transfer data between functions separated by one of these comment lines, and other methods (such as helper dlls) should be used in the (fairly rare) situation that this is needed.
Derivation (Non Reference)
Option Explicit
'Projects
'ActiveProject
'Dictionary
'CurrentScript
'CurrentObject
Script.Result = "Some Text"
Derivation (Reference)
Option Explicit
'Projects
'ActiveProject
'Dictionary
'CurrentScript
'CurrentObject
'Call either or both of the below, potentially multiple times, to build the reference list.
Script.AddResultObject
Script.AddResultObjects
Was this helpful?