Is there a function to activate a reaction matrix from a variable in VSTA for the ZenOn editor.
Is can only find the function IsRemaActive
Thanks !!!
Is there a function to activate a reaction matrix from a variable in VSTA for the ZenOn editor.
Is can only find the function IsRemaActive
Thanks !!!
Hello,
this works via Dynproperties and the ID of the reaction matrix:
Example:
Setting the rema with the ID 1 for the variable ivar
(If only the name of the rema is known, the ID has to be determined first)
zenOn.IVariables zVars; zenOn.IVariable zVar; zVars = this.ActiveDocument.Variables(); zVar = zVars.Item("ivar"); //Activating the rema at the variable zVar.set_DynProperties("IsRemaActiv", "TRUE"); //Assign rema with ID 1 zVar.set_DynProperties("Rema", "1");
Regards,
Bernhard
Last edited by bernhardf : 30th August 2011 at 14:56