How to add figures and results in Composite failure tool?
Ayush Kumar
Member, Moderator, Employee Posts: 452
✭✭✭✭
Answers
-
# 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()
2