AnsweredAssumed Answered

File name into custom property with a slight edit...

Question asked by Marc Wintle on Apr 30, 2014
Latest reply on May 31, 2015 by Deepak Gupta

Hi,


I would guess this is one for Deepak...

Based on a previous macro you wrote for me could you help me tweek it?. (previous post - https://forum.solidworks.com/thread/61743)

 


Our file names are as follows:

     XX1234_ABC_ISS_1.SLDPRT
or
     XX7890_UVWXYZ_ABC_ISS_1.SLDPRT


The editied information would look like:
     XX1234/ABC
or
     XX7890/UVWXYZ/ABC


to be populated into a custom property called "DWGNO".



The macro would continue and populate another custom property called "AAID" where the info would look like:

     XX1234/A/AID

     XX7890/A/AID

As an added bonus can the Property tab Tick box or Radio Button run a macro?


Many thanks,

Marc

Outcomes