Can I interact with SpaceClaim or Ansys Discovery from outside the application ?

Hello there. I want to interact with either SpaceClaim or Discovery programmatically, create geometries, and save files, without interacting with the software's UI.

Very similar to the Pyfluent library to interact with Ansys Fluent with a Python script.

How can it be done?