TAGGED: ansys-spaceclaim, script, scripting, spaceclaim, version
-
-
May 10, 2022 at 8:38 pm
barrooze
SubscriberHi,
I'm trying to find a command that will provide the SpaceClaim version in the scripting tool. Currently, I'm using "sys.path[0].find('\v193\') " to test the filepath, but that only works if the user does not change the install path. I was hoping to find something like "SpaceClaim.GetVersion()" which would result in the version # or something.
Any ideas or help for this?
Thanks!
May 16, 2022 at 4:02 pmAniket
Forum Moderatorimport clr
clr.AddReference("Ans.Utilities")
import Ansys
version = Ansys.Utilities.ApplicationConfiguration.DefaultConfiguration.VersionInfo.VersionString
This should work.
-Aniket
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum
Viewing 1 reply thread- The topic ‘SpaceClaim: Get Version info from script?’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3467
-
1057
-
1051
-
929
-
896
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.
-