cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Fusion: creating UDF, which is made of sketch. How to send parameters?

Creator
Creator

I try creating UDF(made of sketch) by Knowledge Fusion programm, but all my attempts  transfering parameters to UDF failed.

 

My code

(Child) sketch_udf: {
 Class, ug_udfs; 
 Name, "weld4"; 
 Library, "/constr_element";
 Parameters, {{P26,P26:},{Р27,Р27:},{Р28,Р28:}} ;
 References, {{dir_Vector3:},{dir_Vector3:},{Vector2:},{Vector1:}}
};

I receive such error on executing it

Expression 'weld4::p26' already exists

Unable to accomplish the operation due to
following error encountered during update:

Rule already exists 

NX4

 

Any ideas how to solve problem will be highly appreciated.

2 REPLIES

Re: Knowledge Fusion: creating UDF, which is made of sketch. How to send parameters?

Builder
Builder
You can try creating user defined expression and try to use it.
PradeepECR
NX7.5 TC8/ NX9.0.2.5 TC10.2

Re: Knowledge Fusion: creating UDF, which is made of sketch. How to send parameters?

Creator
Creator

Finally i simplified my udf and it works without problems, but didn't understand reason of that error