General Mechanical

General Mechanical

BoltPretension ACT

Tagged: 

    • jo9fin
      Subscriber

      Hi 

      I would like to define bolt pretension for multiple beam connections using ACT. 

      Does anyone know how to do it?

      BoltPre = ExtAPI.DataModel.Project.Model.Analyses[0].AddBoltPretensionBolt

      BoltPre.ScopingMethod ?? = ScopingDefinitionMethod.BeamConnection??

      BoltPre.BeamConnectionSelection = ... ??

      BoltPre.Step[0]  = 50000 

      BoltPre.Step[1]  = Locked

      Bolt.Pre.Orientation = CoordinateSystem 

       

      Or does anyone know any good source with all the commands?

      I mean better than: https://storage.ansys.com/act/v192/ACTReferenceHTML/Mechanical/index.html#Reference.methode.Ansys.ACT.Automation.Mechanical.Analysis.AddBoltPretension.html

    • Erik Kostson
      Ansys Employee

      Hi - actually this is not well exposed yet (and in the the act documentation it is hard to find things many times).

      The good part is that the scoping method can be changed through:

      pret = ExtAPI.DataModel.Project.Model.Analyses[0].AddBoltPretension()
      pret.InternalObject.GeometryDefineBy = 19    # 0=geometry selection, 1=named selection, 19=beam connection, 21=pretension section
      pret.InternalObject.BeamConnectionSelection = beam_ID

       

      beam_ID one can get by many ways say one is:

      beam = ExtAPI.DataModel.GetObjectsByName(‘My Beam’)
      beam_ID = beam.ObjectId

       

      All the best

       

      Erik

       

    • jo9fin
      Subscriber

      Great! Thanks a lot !!

      Can you tell me how you found such information?

    • Erik Kostson
      Ansys Employee

       

      You are welcome. I just happened to have tried this at some point (I doubt the internal object is documented well).

      Erik

       

      • jo9fin
        Subscriber

        do you mean here?

        https://storage.ansys.com/act/v192/ACTReferenceHTML/Mechanical/index.html#frame-index.html

        • jo9fin
          Subscriber

          That is the only thing i have found there. Probably i am doing that wrong. Can you give me some tip, how to search for such things?

Viewing 3 reply threads
  • You must be logged in to reply to this topic.