Skip to main content
Solved

what is the function to get comments of an identifier?

  • December 5, 2023
  • 1 reply
  • 24 views

Forum|alt.badge.img

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

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)

1 reply

gdiepen
AIMMS Champ
Forum|alt.badge.img+7
  • AIMMS Champ
  • 155 replies
  • Answer
  • December 5, 2023

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