Join our CAD community forums where over 25,000 users interact to solve day to day problems and share ideas. We encourage you to visit, invite you to participate and look forward to your input and opinions. Acrobat 3D, AutoCAD, Catia, Inventor, IronCAD, Creo, Pro/ENGINEER, Solid Edge, SolidWorks, and others.
CATIA includes two sample programs (I think they are macros) that are used to create drawing borders based on the paper size. These are intended to be used as examples for the CATIA Administrator to create similar programs based on their companies' drawing frames.
Paper size is determined when a new drawing is created, and can be modified with the File + PageSetup menu. If the drawing size is changed, the macro must be run to create a new border.
There are several other methods for handling this.