I can assign attributes to the objects, and link them to the expressions - that's the common NX functionality. But if I try to do this with UDF, there is a problem. When UDF is inserted into a part, the attribute becomes constant and no longer linked to the original expression. Perhaps it is as designed, but maybe there is a way to make attributes keep linked state in the UDF scenario?
This issue was reported to GTAC in Problem Report 7373543.
At this point in time, the issue is fixed in the upcoming release of NX11.
There is no workaround method at this time.
Maybe it is possible to use KF? I believe it has the function "ug_setattrvalue". But I don't know how to use it. Maybe somebody have some examples?
i know this KF work can be optimized but since it is beyond my expertise level so would request other experts to comment on the same.
Taylor Anderson is the main expert i know of so hopefully he finds this post. His comments will be very valuable.