Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Oct 31, 2003
Messages
45
Location
US
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.
 
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

Back
Top