Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get Results Panel/Nodes API Python

1 REPLY 1
Reply
Message 1 of 2
Anonymous
565 Views, 1 Reply

Get Results Panel/Nodes API Python

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.

Labels (1)
1 REPLY 1
Message 2 of 2
Stephane.kapetanovic
in reply to: Anonymous

Understood as a defined type but value not linked for "params" ?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report