You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Python API Modeler.read() method uses the following code to read in a VTP file
if (model->ReadNative(fileName) != SV_OK) {
delete model;
api.error("Error reading a solid model from the file '" + std::string(fileName) + "'.");
return nullptr;
}
The SimVascular ReadNative function however does not check to see if the file can be read, just returns SV_OK and an empty vtkPolyData() object.
I will add a check in the Modeler.read() method if a file can be opened.
The text was updated successfully, but these errors were encountered:
The Python API Modeler.read() method uses the following code to read in a VTP file
The SimVascular
ReadNative
function however does not check to see if the file can be read, just returns SV_OK and an empty vtkPolyData() object.I will add a check in the Modeler.read() method if a file can be opened.
The text was updated successfully, but these errors were encountered: