Showing results for 
Search instead for 
Did you mean: 

API - Results Set

Valued Contributor
Valued Contributor



I have created an API for postprocessing outputs. Basically I want to create a table containing the Element ID's, corresponding stresses and then stress combination.I have modified the code shown in Page 42-43 of this presentation


Now I want to view the results for debugging purposes. How do I view what results are being populated in the results set.


I was hoping that I would be able to output theses results in a data table.





Re: API - Results Set

Siemens Genius Siemens Genius
Siemens Genius

If you're using v11.3, there's a new "SendToDataTable" method on the Results object. There's no arguments, just call it. To work, the Results object needs to be populated and the data table needs to be visible and unlocked.


If you're using versions prior to v11.3, you'll need to manually extract each column to then send to the data table.