I'm currently modifying existing Catia V5 macro code, which is free with Catia, that inserts a drawing format into the background of a Catia Drawing.
The macro has been modified to insert my company's drawing format.
I'm no expert at this but have managed, by trial and error, to get the code...