Replies: 1 comment
-
Related #1159 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following script works in workbench mechanical scripting, but not in pymechanical embedded.
analysis = Model.Analyses[0]
shaft_obj1 = analysis.CreateLoadObject("Shaft", "ANSYSMotion")
Shaft1_BRG_attach = shaft_obj1.Properties["Attachments/RollingBearings"]
Shaft1_BRG_attach.ValidState = ValidStateEnum.StateValid
-> NameError: name 'ValidStateEnum' is not defined
ANSYSMotionHelper.DrivetrainCallbackClass.ImportDTGeometry(shaft_obj)
-> NameError: name 'ANSYSMotionHelper' is not defined (discussion: #1144)
Beta Was this translation helpful? Give feedback.
All reactions