RGMRecipeGroup.AddVariable() does not accept a variable from a sub project.

RGMRecipeGroup.AddVariable() does not accept a variable from a sub project.

Summary

RGMRecipeGroup.AddVariable() does not accept a variable from a sub project.

Description

RGMRecipeGroup.AddVariable() does not accept a variable from a sub project.

Solution

The object model was extended so RGMRecipeGroup.AddVariable() now takes the variable object which can also be part of another project.

Information

Example (C#):

IRGMRecipeGroup myRGMGroup = this.ActiveDocument.Parent.Item("INTEGRATIONPROJECT").RGMGroups().Item("Group 1");

IVariable myVar = this.ActiveDocument.Parent.Item("SUBPROJECT").Variables().Item("Var1");

myRGMGroup.AddVariable(myVar);


Issue Number: 30895
Fixed on Date: 13.11.2013
Versions: 7.10 0 BUILD 9356