Delete Simulation and Results
-
@lj said in Delete Simulation and Results:
Thank you @Sylvain!
you're welcome!
I would also recommend using the auto-completion feature in the Console. For example, if you type
sim=document.AllSimulations[0]to assign the
simvariable and thensimfollowed by a.(dot) , you should see all the functions that you can use with this simulation object. Usually easier than trying to remember all of them

-
sim.ClearResults() # delete results
sim.ResetVoxels() # delete voxels
document.AllSimulations.Remove(sim) # remove simulation from projectafter adding this lines i got this error :
Analysis : [Warn] Results Were Deleted
Analysis : [Warn] Results are not ready and simulation could not be located
Analysis : [Error] sim 2: Failed to compute output attributes
Analysis : [Warn] Results are not ready and simulation could not be located
Analysis : [Error] sim 2: Failed to compute output attributes
Analysis : [Error] Overall Field: Could not update input attributes
Analysis : [Warn] Results are not ready and simulation could not be located
Analysis : [Error] sim 2: Failed to compute output attributes
Analysis : [Error] Overall Field: Could not update input attributes
Analysis : [Error] EM E(x,y,z,f0) - Slice Viewer: Could not update input attributes
Analysis : [Warn] Results are not ready and simulation could not be located
Analysis : [Error] sim 2: Failed to compute output attributes
Analysis : [Error] Overall Field: Could not update input attributes
Analysis : [Error] EM Potential(x,y,z,f0) - Slice Viewer: Could not update input attributes
Analysis : [Warn] Results are not ready and simulation could not be located
Analysis : [Error] sim 2: Failed to compute output attributes
Analysis : [Error] Overall Field: Could not update input attributes
Analysis : [Error] EM E(x,y,z,f0) - Streamline Viewer: Could not update input attributes -
also h5 output files disappear !
-
i load several meshes one of them is moving and also each time it transmit other frequency, so for each state i need different simulation (sweep not good for me)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login