Hello,
I had to process a macro of this type, the difference with what you want to do, is that I import the parameters from an Excel file, the macro will loop on all the parts contained in an assembly (active assembly In CATIA), it will also loop on all the subassemblies and parts therein, but...