Automatic Update of Title Block
Automatic Update of Title Block
(OP)
I would like to automatically populate my drawing title block (which resides in the sheet format) with custom properties from the part file - i.e. create a macro to edit sheet format, select specific text items and link them to the custom properties of the external model. Is there an example of a routine available somewhere which I could customize for my application?






RE: Automatic Update of Title Block
First of all, create part and assembly templates with the fields you would like to populate the title block with: Designer, DesignDate, TitleLine1, TitleLine2, DrawingNumber, etc. No spaces in the names.
Next, edit your sheet format. Add an annotation in the position you would like the field to be filled, font size and style as appropriate (do not add text to the annotation yet). In the annotions dialogue box, click the Link Custom Properties button (looks like a folder with a chainlink on it). In the Link to Property dialogue box, click on the check box for "external model reference" and then type your custom property name as created in the part/assembly templates in the Property Name field. Click OK twice and bingo!
Save the sheet format and drawing template. Insert a part or assembly that has the custom properties defined and watch the title block magically update.
RE: Automatic Update of Title Block
Thanks Scott!
RE: Automatic Update of Title Block
There is a program for customizing your Title block. Kyle Boeing from comp.cad.solidworks has made this program and it looks really cool. If you would like the source code for such a program send him an email at: kiboeing@hotmail.com I'm sure he would be glad to send it to you.
Hope that helps,
Scott Baugh, CSWP
George Koch Sons,LLC
Evansville, IN 47714
sjb@kochllc.com