Message 1 of 2
API ROBOT (Python) - Panel results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I have some questions about panel results and the stockage of extreme values.
I tried to stock Mxx,Myy values but I have the following error :
FeColl=structure.Selections.Create(IRobotObjectType.I_OT_FINITE_ELEMENT)
FeColl.AddText("Panel")
CSelection=structure.Selections.Get(IRobotObjectType.I_OT_CASE)
CSelection.AddText ("42to53")
test = IRobotResultQueryParams(app.CmpntFactory.Create(IRobotComponentType.I_CT_RESULT_QUERY_PARAMS))
test.SetParam(IRobotResultParamType.I_RPT_SMOOTHING, IRobotFeResultSmoothing.I_FRS_SMOOTHING_WITHIN_A_PANEL)
test.SetParam(IRobotResultParamType.I_RPT_LAYER, IRobotFeLayerType.I_FLT_MIDDLE)
test.Selection.Set(IRobotObjectType.I_OT_FINITE_ELEMENT, FeColl)
test.Selection.Set(IRobotObjectType.I_OT_CASE, CSelection)
test.ResultIds.SetSize(2)
test.ResultIds.Set(1, I_FRT_DETAILED_MXX)
test.ResultIds.Set(2, I_FRT_DETAILED_MYY)
First problem :
test.ResultIds.SetSize(2)
AttributeError: '__ComObject' object has no attribute 'SetSize'
AttributeError: '__ComObject' object has no attribute 'SetSize'
In addition I am wondering if it is the way to use I_CT_RESULT_QUERY_PARAMS instead of I_CT_FE_EXTREME_PARAMS
Do you have any ideas to solve this problem.
Thank you in advance,
Louis