3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

How to run a Spacelcaim macro without opening the Spacecalim GUI?

    • sirusblack07
      Subscriber

      Hello,

      So I have a simple script that will generate some part and save it. All I want to do is to be able to execute that micro without opening the Spaceclaim GUI as is the operation is executed from the command line.

      Is there a specific command to do that?

      Many thanks,

    • Keyur Kanade
      Ansys Employee
      SCDM can be run in batch mode from windows command prompt and execute a script.

      In a Windows command prompt, go the the folder
      C:\Program Files\ANSYS Inc\v193\scdm\spaceclaim.exe /RunScript="E:\temp\sample.py" /Headless=True /Splash=False /Welcome=False /ExitAfterScript=True

      and the arguments are:

      /RunScript - specify full path of script file
      /Headless - hide/show SCDM GUI
      /Splash - hide/show splash screen appearing while launching SCDM
      /Welcome - hide/show welcome screen
      /ExitAfterScript - specifies if SCDM application should exit when script is finished

      To access other command line options of SpaceClaim, type spaceclaim.exe /? in command line.

      Please go through help manual for more details
      Regards Keyur
      How to access Ansys Online Help Document
      Guidelines on the Student Community

Viewing 1 reply thread
  • The topic ‘How to run a Spacelcaim macro without opening the Spacecalim GUI?’ is closed to new replies.