AnsweredAssumed Answered

Custom Properties - Part of a file name

Question asked by Sebastian Acosta on Nov 13, 2012
Latest reply on Jun 13, 2016 by MATT AUSTIN

The file naming convention that we use, has the part/drawing number first, followed by a description.

 

For example:

 

123456-001 - FRAME WELDMENT

123456-002 - TANK

123456-003 - SHAFT

123456-102 - AXLE

 

Custom properties can be linked to the file name, by typing something like:

Custom Property                   Value / Text Expression          Evaluated Value

Part No                                 $PRP:"SW-File Name"          123456-001 - FRAME WELDMENT

 

What I would like, is an expression that selects only the first 10 characters or so, such that:

Custom Property                   Value / Text Expression          Evaluated Value

Part No                                 ?                                          123456-001

Description                            ?                                          FRAME WELDMENT

 

This would be useful because, during a Pack&Go we commonly rename the number using the "select/replace". But then the custom properties need tidying up manualy or with a macro.

 

Any suggestions?

Outcomes