3.4.19. wipe Command
This command is used to clear everything that has been created, so that a new model and analysis can be started without restarting the interpreter. It removes all nodes, elements, constraints, load patterns and recorders from the domain, all the analysis objects, and all objects created by the model builder, e.g. materials, sections and time series. The time in the domain is reset to 0.0.
- wipe
ops.wipe()
Note
A typical use is to run several analyses in a loop, e.g. the same model under several ground motions, building the model again at the start of each analysis.
Recorders are closed, so their files are complete after the command.
To remove only the analysis objects, keeping the model and its current state, use wipeAnalysis Command.
Example:
wipe
ops.wipe()
Code Developed by: fmk