thank you very much for your help and especially to you Jfaradon! It works with God's fire, if I may say so.
Well and if I can abuse it........ I was wondering if there was a possibility that this dialog box would automatically appear when I insert my part into an assembly?
to do this kind of automation, it's more complicated, you have to make a SW add-in that manages the events of the application. In fact, you have to program more than a macro, you have to go through a development tool like Microsoft Visual Studio.
There is a myCAD tool for this called CustomToolBar, in which it is possible to trigger a macro in relation to events (insertion of a component for example)
But simpler without this tool is to create a macro shortcut in the toolbars.