How to delete all content in a particular layer

Hello NXJournaling,

Could you please let me know, how to delete all the contents in the layers which are not visible or clubbed with other layers?

Is there any possibility to have the Journal to do this task?

Thank you very much.

Best Regards,
Praveen

If I were writing a journal to delete all the objects on a layer, I would use the .GetAllObjectsOnLayer method and add those objects to the delete list then perform an update. Whether or not all of the specified objects get deleted may depend on your NX "delete and suppress" options.