How to add figures and results in Composite failure tool?

Options
Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 414
First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
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: 414
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
    Answer ✓
    Options
    # 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()