Have you tried creating a Journal & looking at the code?
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled
Could you give me some help about the use of "UF_MODL_create_instantiated_udf1"?
When I use this function the third parameter is always wrong,it coms the message "The input UDF parents data is invalid."
I need to associate UDF features to an edge, or a line.
you can refer this link for udf instatiation. Check it once whether you have defined, old reference, new reference and number of references.......for "UF_MODL_udf_ref_data_t *" .
Better you can use UF_Modl_Create_Instantiated_udf method.
refere this links for documentation:
Yes you are right,I have checked the structure of the input.
Use "Create_instantiated_udf" can be generated normally,but “Create_instantiated_udf” can only apply part of the scene.
Perhaps in some cases, only "create_instantiated_udf1" can meet the requirements.
Only it can adjust the reference direction of the association.
Anyway, thank you very much!