Hi,
Is there any way to mass uppdate attributes in a model, e.g free attribute "AT_UA_TXT_xx"/1314 or "AT_SHORT_TXT"/593. What I try to achive is adding "level numbering" as an identier to the different levels in the model, to be able to utilize a repport script without either remodel the whole thing or write a new repport script. (Which I am not good at by the way :-) )
Any suggestions?
Best regards,
Øystein
Aleix Targa on
Hi,
if it's, for example, an ID that you can generate easily you can use a report, with this function.
I use it like this:
var date = new __date().toString(); var time = new __time().toString(); date = date.replace(".", ""); date = date.replace(".", ""); time = time.replace(":", ""); time = time.replace(":", ""); id_db = "DB" + date + time db.Attribute(Constants.AT_UA_TXT_xx, g_nloc).setValue(id_db)Otherwise, you can use a predefinied report on default folder that is called Export Attributes, modify this excel and then, use the report Import Attributes.
I hope that I can help you
Aleix