How do I access pre-existing result objects in Composite Failure Tool?
I have found a way, in case anyone someone has a more elegant method, please post. Thanks!
for child in ExtAPI.DataModel.Tree.AllObjects: if child.GetType().ToString() == 'Ansys.ACT.Automation.Mechanical.Results.CompositeFailureResults.CompositeFailureResult': child.AddFigure()
@Ayush
a more elegant method :
ExtAPI.DataModel.Project.GetChildren[Ansys.ACT.Automation.Mechanical.Results.CompositeFailureResults.CompositeFailureResult](True)