How to add force reaction (for weak springs)?

Erik Kostson
Erik Kostson Member, Employee Posts: 216
50 Answers 100 Comments 25 Likes Name Dropper
✭✭✭✭
edited October 15 in Structures

We have activated weak springs (analysis settings = On), and want to create automatically a force reaction result for weak springs using ACT scripting.

Best Answer

  • Erik Kostson
    Erik Kostson Member, Employee Posts: 216
    50 Answers 100 Comments 25 Likes Name Dropper
    ✭✭✭✭
    edited October 15 Answer ✓

    below is one way of doing this:

    model = ExtAPI.DataModel.Project.Model
    analysis=model.Analyses[0]
    anset=analysis.AnalysisSettings
    onws=str(anset.WeakSprings)
    solution=analysis.Solution
    
    if onws =='On':
        fr=solution.AddForceReaction()
        fr.LocationMethod=LocationDefinitionMethod.WeakSprings
    
    solution.EvaluateAllResults()
    
This discussion has been closed.