finesse.model.Model.remove

Model.remove(obj)[source]

Removes an object from the model.

Note

If a string is passed, it will be looked up via self.elements.

Parameters:
objFrequency or sub-class of ModelElement

The object to remove from the model.

Raises:
Exception

If the matrix has already been built or there is no component with the given name in the model.