1
Automation Interface, Add-Ins and Tools / Re: Problems with Model Add-In Event EA_OnTabChanged parameters
« on: November 07, 2025, 08:16:50 pm »What that means is that the parameter is passed by reference [...]
Use TabName.val and DiagramID.val.
The information about passing simple/primitive value parameter as 'boxed' (Javascript [object]) is worth to be included on the doc page, as it is unexpected here.
A know that *.val style of passing simple value parameter is used in scripting EA API as a 'workaround' for some model-addin methods, having [out] kind of parameters (i.e. parameter value being _returned_ from a method). But EA_OnTabChanged is not the case, so boxing a [in] string parameter is misleading and should be described explicitly (if left as-is for backward compatibility reason).
and add Trace relationships (as few as necessary) to the Class, each with "Link to Element Feature" set to particular 'new' attribute.