what is the function to get comments of an identifier?

  • 5 December 2023
  • 1 reply


I want to check if my identifiers have comments written in it’s attributes. I am writing a procedure to do that. But I don’t know if there is any already existing function to get the comments attribute of a given identifier.


Best answer by gdiepen 5 December 2023, 13:54

View original

1 reply

Userlevel 5
Badge +7

Not sure what approach you are following to get it, but you can do this using the AttributeToString function using ‘comment’ as the AttributeName.


Note that this function will not work in encrypted models (see also the information in the Function Reference)


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

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