Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

Launching SpaceClaim’s GUI via External Python: When and How?

TAGGED: 

    • Ganggui Guo
      Subscriber

      I'm interested in understanding the potential for integrating SpaceClaim with external Python platforms like VSCode and PyCharm. Specifically, when can we expect the capability to launch and control SpaceClaim's GUI directly from these platforms using Python scripts? Is there any development or planned update in this direction?

    • Ashish Khemka
      Forum Moderator

      Hi,

      Please see if the following link helps you: How to run a Spaceclaim script from an external IDE like vscode? (ansys.com)

      Regards,

      Ashish Khemka

    • Atharv Joshi
      Forum Moderator

      Hi Ganggui,

      Yes, you can integrating SpaceClaim via different python platforms this is released for the user and with time features will grow. You can refer the attached documentation on PyAnsys Geometry on getting started Getting started — PyAnsys Geometry and User guide — PyAnsys Geometry

      Thanks and Regards
      Atharv

      • Ganggui Guo
        Subscriber

        from ansys.geometry.core import launch_modeler_with_spaceclaim

        modeler_discovery = launch_modeler_with_spaceclaim()

        modeler_discovery.run_discovery_script_file(file_path=r'E:\2023project\nncx\muti-optimize\Mesh_Gem\1.scscript',script_args=script_args)
        Hello, I want to run a script in SpaceClaim using run_discovery_script_file, but I'm unsure what to include in script_args. I have reviewed the original documentation, but it did not provide guidance on how to manage this.
    • Atharv Joshi
      Forum Moderator

      Hi Ganggui, 

      Lets continue the discussion here pygem (ansys.com)

      Thanks and Regards
      Atharv

Viewing 3 reply threads
  • The topic ‘Launching SpaceClaim’s GUI via External Python: When and How?’ is closed to new replies.
[bingo_chatbox]