S3D.results
This namespace provides methods to interact with the solver results.
S3D.results.setAll
#
Description: Sets the results data.
Operation Type: Synchronous
Access: set
Params: S3D.results.setAll(resultsObject)
Key | Type | Description |
---|---|---|
resultsObject | Object | The results object received from S3D.generalSolve. |
Sample:
getResults.js
S3D.results.getAll
#
Description: If your model has been solved, users can download the analysis results. This will return an array of objects, containing all results from the analysis.
Operation Type: Synchronous
Access: get
Params: S3D.results.getAll(downloadAll)
Key | Type | Accepts | Description |
---|---|---|---|
downloadAll | boolean | true , false | If the results should be downloaded. If false , it will only return what has already been downloaded. This prevents excessive downloading where it may not be necessary. |
Sample:
getResults.js