Apex remote control
Enables access to Apex and the scripting API from an external Python interpreter or IDE
- Execute Python interpreter or IDE (such as PyCharm) from your desktop or IDE
- From the interpreter (or your external script) import the Apex remoting package - this package enables access to Apex from external Python environments
- Launch the Apex application using the remoting package - remoting.launchApplication()
- Import the apex module and any other packages your script requires
- From this point onwards, use the Apex scripting API just as you would normally
- When typing Apex commands directly into an interpreter, Apex responds immediately and you can observe any objects that your commands create
- Apex can be manipulated interactively between inputs from the interpreter/IDE
- Terminate your script or interactive session with remoting.shutdownApplication() to close Apex.
Use the example below to get started,

External Python Console Demo
- Demo files are in folder:
- “Scripting Demo Assets/External Console Demo”
- Use the following files:
- "test-remote.py"
- Front_Suspension_CAD.X_T
- Use the Python interpreter that ships with Apex.
- Make sure that your Python environment can see the following folders:
- installation_directory\CL#\python3\Lib\site-packages
- installation_directory\CL#\python3/DLLs
- installation_directory\CL#\python3/lib
- installation_directory\CL#\python3
- installation_directory\CL#\python3\lib\site-packages

- Log in to post comments
