[Li...] Posted yesterday at 06:16 AM Share Posted yesterday at 06:16 AM Hello, does anyone know what parameters should be in the gom.interactive.sys.export_script function? Thank you for your help Link to comment Share on other sites More sharing options...
[Ma...] Posted 13 hours ago Share Posted 13 hours ago Hi, you can run print(gom.interactive.sys.export_script.__doc__) from an App, which results in the following (in ZEISS INSPECT 2025): sys.export_script (Export Script...) - Export Script Parameters: Name | Description | Type | Optional ---------------------------------------------------------------------------- file | file name of the created script archive | Tom::Parse::File | No name | qualified name of the script to export | QString | No However, I'm not sure how this works. What do you want to achieve? Link to comment Share on other sites More sharing options...
[Ma...] Posted 12 hours ago Share Posted 12 hours ago Example: import gom method_script_export_path = "C:/temp/methodscript.py" # The qualified name contains the App's UUID name = ":user.338124d1-8053-4b34-b95e-0ec3a84bc5dd.scripts.scripttest" gom.script.sys.export_script(file=method_script_export_path, name=name) Note: In this example, gom.script.sys.export_script() is used (not gom.interactive.sys.export_script)) Link to comment Share on other sites More sharing options...
[Li...] Posted 11 hours ago Author Share Posted 11 hours ago thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in