Skip to main content
1-Visitor
May 31, 2019 10:25 AM UTC
Solved

Insert UDF for form feature

While inserting the UDF for FORM feature created by the punch, I am getting a warning message as

 

Some relations from the UDF set were not added to the current model due to unit sensitivity conflict. Toggle the unit sensitivity in the relation dialog to allow addition of such relations.

 

After getting warning message it ask me to select reference for UDF placement, but I already used ProUdfreferenceAlloc() ProUdfdataReferenceAdd() for the reference of the part. I don't know why it asking me to select the reference in the part for inserting the UDF. Anybody know how to fix this issue

GopichandAnswer
1-Visitor
Jun 12, 2019 9:19 AM UTC

Giving reference prompt in ProUdfreferenceAlloc(), I have used ProLine and it is declared as

ProLine Prompt=L"FRONT";

the ProSelection reference is not correctly allocated to the prompt, because the Prompt value is not correctly allocated, so to overcome this I used ProWstringCopy() to allocate the value to ProLine Prompt then it is worked fine.

 

1 reply

Gopichand1-VisitorAuthorAnswer
1-Visitor
Jun 12, 2019 9:19 AM UTC

Giving reference prompt in ProUdfreferenceAlloc(), I have used ProLine and it is declared as

ProLine Prompt=L"FRONT";

the ProSelection reference is not correctly allocated to the prompt, because the Prompt value is not correctly allocated, so to overcome this I used ProWstringCopy() to allocate the value to ProLine Prompt then it is worked fine.

 

Translate