How to add figures and results in Composite failure tool?

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 452
100 Answers 250 Likes 100 Comments First Anniversary
✭✭✭✭
edited June 2023 in Structures

How to add figures and results in Composite failure tool?

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 452
    100 Answers 250 Likes 100 Comments First Anniversary
    ✭✭✭✭
    Answer ✓
    # Activate Composite Failure Tool
    Model.Analyses[0].Solution.Children[2].Activate()
    cmd="""DS.Script.doInsertCompositeFailureToolInverseReserveFactor()"""
    ExtAPI.Application.ScriptByName("jscript").ExecuteCommand(cmd)
    ExtAPI.DataModel.Tree.ActiveObjects[0].AddFigure()
    
    # Activate Composite Failure Tool
    Model.Analyses[0].Solution.Children[2].Activate()
    cmd="""DS.Script.doInsertCompositeFailureToolSafetyMargin()"""
    ExtAPI.Application.ScriptByName("jscript").ExecuteCommand(cmd)
    ExtAPI.DataModel.Tree.ActiveObjects[0].AddFigure()
    
    # Activate Composite Failure Tool
    Model.Analyses[0].Solution.Children[2].Activate()
    cmd="""DS.Script.doInsertCompositeFailureToolSafetyFactor()"""
    ExtAPI.Application.ScriptByName("jscript").ExecuteCommand(cmd)
    ExtAPI.DataModel.Tree.ActiveObjects[0].AddFigure()