Creating a user defined attribute by :
source creation table
all get the "created here" setting
Thefore I'm curious about how to create a user defined attribute without "created here" setting.
And therefore inherits the userdefined Attribute ( and value)
is object.userdefinedAttribute.InheritValue of any help ?
What do you need the status "created here" for ?
You can switch off the inheritance of the value even if the attribute itself is inherited (i.e. not created here).
You can find out if the attribute is created in the object this way:
param obj : object, attrName : string -> boolean return obj.Origin.getAttrNo(attrName) = 0
In case that you call the Method for a class, you should also check for Origin=void.