Really? So what after CATIA.startcommand (find the File/Desk function) ? How do you garb that graphic element to start the CATDUA? Even with Win API I would not bet on it but I am not expert programmer...I'd like to learn from your solution...
On the other hand, the Batch Utility does clean more stuff than the interactive Cleaner, and it is also faster... why not using it?
Eric N. indocti discant et ament meminisse periti
I also tried to do something and what I could do was to let user few seconds to select what he needs and after launch the second command - but this is not satisfying at all (easy when you have just few graphic elements in Desk Window but much more complicated and ineffective when you have more).
Oh OK. I am also not an expert progammer. I would say even not a programmer.
So thank you, in this case I will still use the batch mode. Just wanted to facilate our work to my colleagues. We always would need to run this, but it is time consuming and the lazy colleagues - including me - rather not make run, and our structure will be wrong later.
I've created an app like this way back, like 10 years ago. It was running CATDUA on all associated Documents of a root ProductDocument simply because made life simpler for all designers and they didn't have to care about what Batch CATDUA does.