TAGGED: macros-scripting, python, spaceclaim
-
-
January 21, 2022 at 4:09 pm
sirusblack07
SubscriberHello,
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,
January 25, 2022 at 5:18 amKeyur Kanade
Ansys EmployeeSCDM 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.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3767
-
1333
-
1173
-
1090
-
1014
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-