Running script error in ACT Stage page
zggnph
Member Posts: 7
**
in Structures
I encountered the following error while running the script on the ACT Stage page.
Tagged:
0
Comments
-
Try importing the current SpaceClaim API by using the following code:
import os, sys clr.AddReference("Ans.Utilities") from Ansys.Utilities import ApplicationConfiguration version = ApplicationConfiguration.DefaultConfiguration.VersionInfo.VersionString sys.path.append(os.environ["AWP_ROOT"+version]+"/scdm/Scripting") clr.AddReference("SpaceClaim.Api.V{}".format(version)) clr.AddReference("SpaceClaim.Api.V{}.Scripting".format(version)) exec('from LoadSCDMAPITypesV{} import *'.format(version)) exec('from UtilitiesOnLoadV{} import *'.format(version))
0 -
Print the corresponding attributes using dir (SplitBody), without ByCutter.
0 -
See my previous comment:
0