Skip to main content
1-Visitor
May 31, 2019
Solved

Insert UDF for form feature

  • May 31, 2019
  • 1 reply
  • 1362 views

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

Best answer by Gopichand

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
June 12, 2019

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.