Accessing User Defined Object

Hello all,

I need to read some attributes defined on user defined objects (UDO) created by an external plugin.
I tried to check whether my part has UDO linked to it using this instruction

Dim isLinked As Boolean = part.UserDefinedObjectManager.IsObjectLinkedToUserDefinedObject(part)

and I wanted to access the UDO by writing

part.UserDefinedObjectManager.GetLinksToObject(part)

however I always get "False" from the first line of code.

Is this procedure correct (and hence maybe my NX part really doesn't have any user defined object linked) or I'm doing
something wrong?

Is there a way to know from NX interface (I'm using NX 7.5) whethere there are UDOs linked?

Thanks!

Silvia