Cancel
Showing results for 
Search instead for 
Did you mean: 

UF_KF_ask_tag returns 0 when given a hostpointer of an expression

Innovator
Innovator

Hello everyone,

 

I am currently working on a method to retrieve an NX tag of a KF list element. The KF list contains an element of type HostPointer, and this references an expression in the same part as the KF instance containing the said list. From what I can gather from the hostpointer, the expression exists in the part.

 

However, if I create a KF attribute with the contents "%mqc_asktagofhostpointer(...)", it returns 0 (NULL_TAG). This can be reproducible using UF_KF_ask_tag.

 

Has anyone also come across this issue? Is there a workaround?

 

Any help would be much appreciated. Thanks!

Marc Prosl
NX Software Developer