Call NX UDFs using API

Good afternoon everyone,

I've created some UDFs templates and I want to run them via API.

I found out that there are some UDFs variables in the UFModl class, but I'm completly lost on how to use them.

Can someone help with some guidence.

This are some options shown in the UFModl class


Public Sub CreateInstantiatedUdf(ByVal udf_definition_tag As NXOpen.Tag, ByVal cgm_file_name As String, ByVal old_parents() As NXOpen.Tag, ByVal new_parents() As NXOpen.Tag, ByVal num_parents As Integer, ByVal old_expression() As NXOpen.Tag, ByVal new_expression_value() As String, ByVal num_expression As Integer, ByRef new_udf As NXOpen.Tag)

Public Sub ImportUdf(ByVal filename As String, ByVal dest_csys() As Double, ByVal dest_point() As Double, ByRef udf_id As NXOpen.Tag)
Miembro de NXOpen.UF.UFModl

Thanks for your help