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.
Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

SpaceClaim: Get Version info from script?

    • barrooze
      Subscriber

      Hi,

      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!

    • Aniket Chavan
      Forum Moderator
      import 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.
[bingo_chatbox]