Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Custom Properties Macro

Status
Not open for further replies.

MimiN63

Mechanical
Oct 31, 2003
45
Is there a macro that will generate a part/assy file's custom properties, those of the drawing, and the title block all at the same time? I have looked around and all I seem to find are macros allowing you to do one or the other. What is everyone using to populate all of these fields simultaneously?

I also tried linking notes in the title block to properties of the part/assy file, which works but I cannot figure out how to get that information linked also to the drawing's custom properties.

Appreciate your input.
 
Replies continue below

Recommended for you

Here is an example a drawing template:
Drawing file name: $PRP:"SW-File Name"
Part Mass: "SW-Mass@$PRP:"SW-File Name".SLDPRT"

This will access the model named the same as the drawing and pull the mass property from it.

I've written a few macros to deal with data, the solution I've found is to always have the MODEL with all completed fields, then let the DRAWING pull from there to populate the title block (as in above example.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor