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.

Starting script externally & closing doc

    • d.vleugels
      Subscriber

      I ve written a script in Spaceclaim to take in parameters, update the model and save the model as a new file. Now ideally I want to include that process in a larger script I ve written so I m wondering if there is a possibility to start a script using an external python script (or after opening Spaceclaim with this external python program). 

      Next to that at the end of the geometry creation script in spaceclaim I want to close the active document, however did not see any code for that, so question is if there there is a command to close the active document?

    • Naresh Patre
      Ansys Employee

      Hello dvleugels

      Please find below an image on how to run SpaceClaim and script through Command Prompt. Make sure that you specify the correct path of spaceclaim.exe based on the version that you are using.

       

Viewing 1 reply thread
  • The topic ‘Starting script externally & closing doc’ is closed to new replies.
[bingo_chatbox]