I am using RSA7, and having a problem about how to get the type-name of a
property, which is a reference to a class in another model(the
"modelLibrary").
like following:

M1 (M1.emx)
|--Class1
|--attr1 (type: M2.Integer)

M2(M2.emx, defined as a ModelLibrary in RSA7)
|--Integer

I want to get the name of type of "attr1" (i.e. it should be "Integer"),
but using the following code snippet, I can't get the type of the
Property, the type of the property attr1 is a Proxy without much
information, not even the name.

My model was not created from scratch, and previously it used an old model
library, now I changed this model, and imported the same library from a
different project, and when I set the type to a class in the model
library, RSA mistakenly took the old one as the destination, which caused
all the problems.

After reimport the library and set the type to a class in the new library,
the problem is gone. the proxies are automatically resolved.

My model was not created from scratch, and previously it used an old model
library, now I changed this model, and imported the same library from a
different project, and when I set the type to a class in the model
library, RSA mistakenly took the old one as the destination, which caused
all the problems.

After reimport the library and set the type to a class in the new library,
the problem is gone. the proxies are automatically resolved.