Showing results for 
Search instead for 
Do you mean 
Reply

Read Stress Results Fast

Hello all,

 

 

We have functions that reads stresses (nodal-elemental) using ResultAccess class and AskElementNodalResult function:

stresses.png

 

It reads results for elements one by one. It takes 30sec for 40.000 plates elements. 

Is there a function to read all nodal-elements results at once? Or alternative/faster way to read results?

 

Yarko

2 REPLIES

Re: Read Stress Results Fast

There are functions to ask for elemental and nodal results for multiple nodes or elements at once. These return a single component result for each specified element/node:

 

NXOpen.CAE.ResultAccess.AskNodalResult(Integer()) As Double()

NXOpen.CAE.ResultAccess.AskElementResult(Integer()) As Double()

 

Any of the functuions that return multiple data values for a single node/element only allow specifying one node or element at a time.

 

You could create a result probe to return the results values that you want, then evaluate the probe and store the results in a table field. You would then have access to all of the values in the field.

Re: Read Stress Results Fast

Hi Jim,

 

 

Thank you for the advice! I'm going to try your approach.