How do I automatically add links to drawings or other files that are associated with components in the assembly?
Add links to pdf files (or any other file extension) through the user properties. A property added to an object with the name “Drawing” and a value of “Yes” will automatically create a link to the part file name.pdf in the current folder. Add the “Drawing” property with a value of “Yes” to create a link to the “Filename.pdf” file located in the directory with the idb files. NOTE: Since subassemblies in IPA do not have filenames we are keying Off the “PARTNAME” property for the name of the pdf file. You will need to replace the redrawProps function in the tree.js file with the following definition: function redrawProps(id) { if (typeof(top_level.props) != “undefined”) { var doc = top_level.props.document outputHead(doc,”props”) with (doc) { writeln(“
“) writeln(““) writeln(“