model edit create input argument

  • 22 December 2022
  • 3 replies

Userlevel 1
Badge +4



Is there a way to define an input argument via model edting? 

I know I can create a procedure and define the body e.g.:


{    _eProc := me::Create(_spProcName, 'procedure', _eSection);
    me::SetAttribute(_eProc, 'body', _spBody);



Best answer by Joost 22 December 2022, 20:32

View original

3 replies

Userlevel 2
Badge +2

Hi Marc,

If I remember well, I think you can’t do this directly. I thought you can create a run time parameter and then move that node under the created run time procedure as a ‘trick’ to accomplish this effect. Also thought this was in a how-to somewhere. See me::Move() function.


Userlevel 5
Badge +7

Hi Marc,


Perhaps Joost is referring to this how-to.


With kind regards,



Userlevel 1
Badge +4

Thanks Joost, Chris 

One note by doing so I found that on there is a typo.

I wanted to set a subset but the attribute name is ‘subset of’ with a space. (not SubsetOf)




Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator