TAGGED: beam-pretension, mechanical
-
-
September 1, 2026 at 2:44 pm
OpticsinAlabama
Subscriber      # Create Beam Preload in the selected analysis
      Â
      pret = ExtAPI.DataModel.Project.Model.Analyses[0].AddBoltPretension()
      #Set Scoping Methodto Beam Connection
      pret.InternalObject.GeometryDefineBy = 19
      beamID=allbeams[yyy].ObjectId
      pret.InternalObject.BeamConnectionSelection=beamID
      #The Beam Connection definition is now set
      beam_pretensions=DataModel.GetObjectsByType(DataModelObjectCategory.BoltPretension)
      beam_pretensions[yyy].Name=Beam_nameAnsys does not adhere to their "object.ScopingMethod" here....with this arcane code you set, nevertheless I am successfully creating the Pretension objects.
However I do not know how to set the STEP (load, lock etc) and the actual preload. The documentation is scarce on this.
Can someone help?
-
September 1, 2026 at 2:52 pm
OpticsinAlabama
SubscriberI am having problems knowing how to use the ACT debugger. Is there a training video available that would help?
-
September 1, 2026 at 3:39 pm
erko
Subscriber
USe: SetDefineBy - for more details See this post I made:https://discuss.ansys.com/discussion/10668/how-to-lock-bolt-pre-tension-using-mechanical-scripting
Any more questions post here as it is for scripting:
https://discuss.ansys.comerko
Â
-
September 2, 2026 at 2:21 pm
erko
Subscriber1234
-
September 3, 2026 at 1:22 pm
erko
Subscribertest
-
- You must be logged in to reply to this topic.
-
6880
-
1906
-
1544
-
1344
-
1217
© 2026 Copyright ANSYS, Inc. All rights reserved.