AnsweredAssumed Answered

Batch Remove Leading Zero in Revision Custom Property

Question asked by Chris Alcala on Jan 17, 2020
Latest reply on Jan 21, 2020 by Artem Taturevych

A little back ground,  we have a library of components (10000+)  that use a custom property "revision" in the .sldprt/.sldasm file to drive the revision note of the related drawing.  This library uses a numerical revision scheme. My issue is, a large portion of the older files have a leading zero in the "revision" custom property value and most later files don't have the leading zero.

 

Example: Old standard = 01,02,03...; New Standard =1,2,3....

 

Does anyone have any advise on how to write a macro to batch process all our files to remove the leading zero and have a consistent revision scheme? thanks in advance. 

 

Outcomes