How can I set up my drawing title block/template (SolidWorks 2015) so that it returns a revision description based on the Revision #?
If Revision # = 'x', then Revision Descripiton = 'y'
do you want a script for this? and how/where you want to retrieve the description from?
You can map the transition comment to a field on the title block.
You need to define where the Rev Description is stored so we can answer you better. Is it a static hard coded value or dynamically entered by the user approving?
It's dynamic - entered by the user approving.
Since it's dynamic, how would that script ever know what to put in there?
Would it work for you to handle revisions in workflow, and putting the (approval) state change comment into a data card variable as "revision comment", then bring that variable's contents into the title block?
(I realized after posting that i'm asking the same as Mike Sveda....)
You can create a text file for it to read from.
But, the description of changes would vary between drawings. How would it know?
I use my own revision table, you can very easily add Custom Properties and have them populate to the sheet. Do you use Custom Property Tab Builder??
Do you need sample files/templates??
...Sorry got buried in work... - so Custom Properties can be fitted to the sheet depending on another variable, so if Revision = 1, then 'Revision Description' = 'Released'
I have my revision number and the change description on different lines and different values and then I have another property that returns the Project Status, which is "Initial Review" - Released For Production" etc...
Retrieving data ...