Using workbench scripting can we get the analysis type of a system?

Erik Kostson
Member, Moderator, Employee Posts: 312
✭✭✭✭
Say we have 2 systems in a workbench (WB) project. Can we then extract what analysis types these are using WB scripting?
0
Best Answer
-
One possible way of doing this is shown below ( the Name property will give the type of analysis, say modal ,static, etc.):
s1=GetAllSystems()[0].GetContainer(ComponentName="Setup") s2=GetAllSystems()[1].GetContainer(ComponentName="Setup") an1=s1.GetMechanicalSystemType() an1.Name an2=s2.GetMechanicalSystemType() an2.Name
0
This discussion has been closed.