you can read the part/assy properties directly into the drawing textboxes. So you don't have to copy them to the draft properties. We use this methode in our draft templates and works fine. This way you store the properties in only 1 place, the part/assy file properties, and you don't need any code.
First make a "callout" in your draf document.
Then click "property text" in the bottom left
Select the link you want to use.
For example: "%{File Name|R1}" (This gives you the filename of the first modellink of the drawing) |