7.8. remove command

remove(type, tag)

This commmand is used to remove components from the model.

type (str) type of the object, 'ele', 'loadPattern', 'parameter', 'node', 'timeSeries', 'sp', 'mp'.
tag (int) tag of the object
remove('recorders')

Remove all recorder objects.

remove('sp', nodeTag, dofTag, patternTag)

Remove a sp object based on node

nodeTag (int) node tag
dof (int) dof the sp constrains
patternTag (int) pattern tag, (optional)