Greetings :-)
Hi,
Im new to ARIS, I wanted to know type of attributes and how to get only userdefined attributes through script.
Hi,
Well, normaly you just enter the AT-Number or the type number like this:
sValue = oObjDef.Attribute(Constants.AT_ID, g_nLoc).getValue()
sValue = oObjDef.Attribute(55, g_nLoc).getValue()
The attribute type numbers can be read from the configuration tab in ARIS...
But for customized attributes, this can lead to errors if you are using the script on another server, as the type numbers of the user defined attribute types change between servers. So you need something like this:
nAttrTypeNum = oFilter.UserDefinedAttributeTypeNum(sGUID);
with sGUID the GUID of the attribute type number which you can also get from the configuration tab in ARIS...