Restores attributes from old ModelerGeometry object.
eOk if successful or an appropriate error code otherwise.