Macro TemplateHelper/fr

Description
Si vous en avez assez de retaper les informations chaque fois que vous insérez une nouvelle page dans votre document FreeCAD ou si vous préférez une nomenclature "dessinée" à une feuille de calcul insérée, cette macro est faite pour vous.

Cette macro génère un modèle TechDraw à la volée et l'insère dans le document actif, prêt à recevoir de nouvelles vues.

If you wish, you can fill the space between the title block and the upper border of the drawing area with a BOM. You choose how many lines you need or if you fill the whole space.



Usage

 * 1) Open a FreeCAD file or add a new one.
 * 2) Find the macro file in your macro directory using [[Image:Std_DlgMacroExecute.svg|16px]] Macros... and select it.
 * (The Script section below describes how to put it there.)
 * 1) Press  to start the macro.
 * 2) Select the page format.
 * 3) Select the language for the title block.
 * 4) If you need a BOM change the number of rows:
 * You can use the right mouse button to reset to 0 or
 * to set the maximum number of rows that fits on your chosen page size.
 * 1) Click  to finish.

Dialogue window




English is default and just one version, but maybe someone likes to distinguish 'merican and bri'ish English in the future... :-D





Script
The Macro should be found in the macro directory. To put it there, you need to:
 * 1) Select the macro below (from #! pyth... to ...main).
 * 2) Copy the selection.
 * 3) Create a new macro file using [[Image:Std_DlgMacroExecute.svg|16px]] Macros... and select.
 * 4) Type in the name (TemplateHelper) and select . (.FCMacro is added automatically.)
 * 5) Paste the clipboard content into the Editor window.
 * 6) Press [[Image:Std_DlgMacroExecuteDirect.svg|16px]] Execute macro to start the macro.

TemplateHelper.FCMacro