🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

UDF and Python script

User: "Prabin Pradhananga_22497"
Altair Community Member
Updated by unknown

Hi guys,

I have been working with acuSolve user-defined function (UDF) and am now interested to call a python script from inside a UDF. This is necessary to me because I am working with some code that would otherwise be very difficult to be written in C. I was wondering if I would be able to call a python script from inside the UDF because UDF is written in C. The flow sequence of the program would be:-

1. Call UDF from acuSolve

2. Call python from UDF and pass arguments

3. Perform calculations inside python script

4. Return arguments to UDF

 

Thanks in advance.

 

Find more posts tagged with