Run 3rd Party DLL

Hello

With File/Execute/NXOpen i can choose a dll and start a routine from a siemens drawing frame program. I want to ask if it is possible to run a dll-File via a Journal. I found already a forum topic, where it is recommended to use

NXOpen.Session.Execute.

Following arguments are needed

( [string] libName, [string] className, [string] methodName, Object[] inputArgs )

https://docs.plm.automation.siemens.com/data_services/resources/nx/12/nx...

Is the execute method the right track? We don´t know how to write the syntax, because we don´t know anyhing about this program. Is it even possible to run this file via journal?

Thank you in advance and best regards

I've never tried to run a 3rd party DLL file, so I don't have any direct advice on doing so. However, I doubt that calling a DLL is supported if you are running your code as a journal (tools -> journal -> play), given the other restrictions on journal code. In either case, you will need to know something of the DLL (function name and the arguments it takes) to successfully make use of it.