Is there a way to create parameters/shared expression?
pawarbi opened this issue · comments
Sandeep Pawar commented
Hi Michael - thanks so much for your scripts. I use several of them and save me a lot of time and efforts.
Is there a way to create parameters in TE using scripts? I was able to create Shared expression but couldn't figure out how to set the kind to M and add Expression via script.
Thanks
m-kovalsky commented
You can use this as an example. Also, you can use this documentation as a reference:
Model.AddExpression("hello");
Model.Expressions["hello"].Kind = ExpressionKind.M;