What variable would I need to query to get the current revlevel of a document that is in the vault. What I am doing is when apart goes through the workflow and reaches the released state Icreate a pdf of the part name and store it in a directory based onpart name. If directory doesn't exist the it creates it. So if Ihad a part 240000123.slddrw then a folder would be created called240000123 and a pdf of 240000123slddrw.pdf We put the file type inthe part name because we could have other documents also. This waywe can keep different types of documents sharing the same reference#. (IE: 240000123sldprt.pdf, 240000123xls.pdf) This is all doneautomaticly without any user intervention when it reaches thisstate.
Now I want to create a txt document that would have the part # andrev level. So when the part 240000123.slddrw rev E reaches therelease stage the workflow would append to a txt file 240000123,E.This txt file will then be used to import the values into our MRPprogram. This way the stated rev level in Item Maintenance willmatch the current rev level in PDM.
Using
PDM 2007 SP5
W2k3 SP2 RC2
SQL 2005
Sw2007OfficePro SP5SolidworksApi macros
Now I want to create a txt document that would have the part # andrev level. So when the part 240000123.slddrw rev E reaches therelease stage the workflow would append to a txt file 240000123,E.This txt file will then be used to import the values into our MRPprogram. This way the stated rev level in Item Maintenance willmatch the current rev level in PDM.
Using
PDM 2007 SP5
W2k3 SP2 RC2
SQL 2005
Sw2007OfficePro SP5SolidworksApi macros