You will probably get a better response by posting this in the Catia forum. It would probably help if you asked for assistance in creating the macro rather than asking someone to do the work for you. You may get lucky and have someone post what you need.
"Good to know you got shoes to wear when you find the floor." - [small]Robert Hunter[/small]