My intention was to create a collection of CATIA macros. You can copy and paste the code in a CATScript or catvba, just clicking on the button bellow the yellow area (if is existing).
If you notice something wrong with the code or how is copied in the clipboard (how the text is format), please let me know to improve this help file (you can send me a PM in CATIA forums or an e-mail, I'm sure you can find it very easy). Notice that not all codes were tested. Also, if you would like to share some other codes with us, you can contact me to add them in this help file (reusing code is the fastest way to solve problems).
1