-
-
July 20, 2023 at 10:20 am
akash.purushothaman
SubscriberI have a wbex file for an Ansys ACT. I would like to make some updates to the ACT.
Inorder to do the updates, I need the source code of the script from which the wbex file was built.
Unfortunately, we don't have the source code!
Is there any way to extract the source code (files) from the wbex file? -
July 21, 2023 at 7:45 am
mjmiddle
Ansys EmployeeIf the wbex file was built with the option compiled=”True”, then you can’t get the source code. That’s one of the purposes for building the wbex if you are the ACT extension builder: to protect your confidential code.
It will unpack the extension to a scripted version to the user’s home directory: %APPDATA%\Ansys\v{version}\ACT\extensions.
If the xml had ‘script src=file.py compiled=”True”‘ before compiling, then you’ll see all the folders and files of the scripted extension in the user’s directory except these python files. In this case the *.wbex file will also be copied to the user’s directory, since it must look inside the wbex file for the compiled src files.
-
September 27, 2023 at 5:48 am
akash.purushothaman
SubscriberThank you @mjmiddle
I understand.
So in case when I create a new ACT, and if I set compiled = “False”, is there a way to retrieve the source code from the wbex?
-
-
September 27, 2023 at 6:11 am
mjmiddle
Ansys EmployeeIt will unpack the extension to a scripted version to the user’s home directory: %APPDATA%\Ansys\v{version}\ACT\extensions.
-
- The topic ‘How to extract source code from wbex file?’ is closed to new replies.
- Workbench license error
- Unexpected error on Workbench: Root element not found.
- ansys fluent error when opening it “unexpected license problem”
- access to path files denied error
- Unexpected issues with SCCM deployment of Ansys Fluids and Structures 2024 R1
- Unable to connect to the license
- Tutorial or Help for 2 way FSI
- Questions and recommendations: Septum Horn Antenna
- Moment Reaction probe with Large deformation
- Running multiple LS-DYNA simulations with batch files
-
1932
-
839
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.