Showing results 1 to 2 of 2

Thread: Reaction matrix in VSTA for the ZenOn editor

  1. #1
    Join Date
    07.07.2010
    Posts
    9

    Default Reaction matrix in VSTA for the ZenOn editor

    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 !!!

  2. #2
    Join Date
    20.08.2009
    Posts
    293

    Default Re: Reaction matrix in VSTA for the ZenOn editor

    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

Similar Threads

  1. Limits in VSTA in ZenOn editor
    By ippela in forum VSTA
    Replies: 1
    Last Post: 30th August 2011, 14:55
  2. Error while loading the VSTA editor-addin
    By jjplaw in forum zenon Supervisor
    Replies: 1
    Last Post: 24th August 2011, 07:35
  3. Reaction matrix ?
    By peterg in forum zenon Supervisor
    Replies: 2
    Last Post: 5th August 2009, 01:05
  4. Reaction Matrix
    By stephanepilon in forum zenon Supervisor
    Replies: 3
    Last Post: 1st May 2008, 16:02
  5. Replies: 0
    Last Post: 20th August 2007, 17:04

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •