Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Update of Title Block 2

Status
Not open for further replies.

Stoker

Mechanical
Feb 21, 2001
204
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?
 
Replies continue below

Recommended for you

It's much easier than that.

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.
 
Doh!! In my infinite wisdom I failed to realize that you don't have to wait until the part is inserted into the drawing to link to custom properties.

Thanks Scott!
 
Stoker,

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor