1
Automation Interface, Add-Ins and Tools / Trying to automate MDA Transformation
« on: November 11, 2014, 08:45:35 pm »
We are trying to to automate MDA transformation using custom template.
I have imported Transformation template manually into the repository and tried to Transform one package using following code.
Project pi = rep.GetProjectInterface();
pi.TransformPackage("AIRM2GML(Complex)", "E57EFEB3-B409-48e9-A6E6-79EC2CFC6B61", "FB835C47-5C14-40d3-8A8C-80463D6EDF65", "SubPackages=true");
pi.ReloadProject();
I am getting the result as "false" and transformation is not happening.
I tried debugging but its using native functions to transform.
Can any on help me how to get this working.
I have imported Transformation template manually into the repository and tried to Transform one package using following code.
Project pi = rep.GetProjectInterface();
pi.TransformPackage("AIRM2GML(Complex)", "E57EFEB3-B409-48e9-A6E6-79EC2CFC6B61", "FB835C47-5C14-40d3-8A8C-80463D6EDF65", "SubPackages=true");
pi.ReloadProject();
I am getting the result as "false" and transformation is not happening.
I tried debugging but its using native functions to transform.
Can any on help me how to get this working.