Particle properties in Ovito

How can I remove an unwanted Particle property? I can see how to add one, either a predefined property or by constructing an equation, and that works nicely, but I can’t see how to remove one, which appears in the Particle properties table at the bottom of the screen.

OVITO Basic doesn’t offer a function for that. In OVITO Pro, you could insert a simple Python modifier function into the pipeline to delete a property:

def modify(frame, data):
    del data.particles_['SomeProperty']

I am wondering why you care about this possibility. Are you just interested in “cleaning up” or is the deletion crucial for you?

Thanks, it’s not crucial, I just wanted to clean up the data file.

I see, thanks.

Yes, since the presence of additional properties does not usually cause any harm within OVITO, we have not included any built-in modifier for removing properties again, also to avoid cluttering up the GUI with too many rarely used functions. But as I said, if needed, OVITO Pro offers an easy way of implementing this operation as an extension.