Hello,
I’m trying to get results of panels by node and case from API, in API tutorial, the example is this one:
Initialize the variable making available the pameters for reading the results.
Dim params As New RobotFeResultParams
Select the local direction of coordinates system.
params.SetDirX I_OLXDDT_CARTESIAN, 0, 0, 1
Define the method for retrieving the results (panel/node/case)
params.Panel = numObj
params.Node = numNod
params.Case = numCas
and when I’m trying to convert to python like this:
params=RobotFeResultParams
params.Panel= 1 (1 is the number of panel)
params.Node= 1 (1 is the number of node)
params.Case= 1 (1 is the number of case)
the error is (TypeError: invalid target)
If I change to this one:
params=RobotFeResultParams
params.set_Panel(1) (1 is the number of panel)
params.set_Node(1) (1 is the number of node)
params.set_Case(1) (1 is the number of case)
the error is this one (TypeError: instance property must be accessed through a class instance)
I would appreciate some help.
Best Regards, and stay healthy.