We have functions that reads stresses (nodal-elemental) using ResultAccess class and AskElementNodalResult function:
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?
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()
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.