Rename files according to a fast definition
Tools CloneComponents and SmartDrawings allow rename files generated using a fast definition, here the help which relates to this renaming.
It is possible, constantly, to write a character string directly.
For the addition of a field (rule), it is enough to click on . The user is automatically redirected on the following window in order to define the rules of renaming.
- Type of fields:
- Fixed value
One enters here the character string which must be inserted in new name.
Result all the processed files will start with the chain “ENS – “.
- Value of a property
Allows to recover the value of a personalized property of the processed file or part of the value (see the zone of edition of the values).
The drop-down list point on the file of personalized properties “ Properties.txt ” specified in the general options SOLIDWORKS.
Result all the processed files will contain the selected property.
- Value of a property of the referred document
Allows to recover the value of a property of the document referred in the processed file or part of the value (see the zone of edition of the values).
For example if the processed file is a drawing, the recovered value will be that of the property of component of drawing.
Result all the processed files will contain the selected property.
- ValeurSOLIDWORKS ®
Allows to recover the value of the name of the configuration of the processed file or part of the value (see the zone of edition of the values).
If the processed file is a drawing, it is possible to recover the name of the sheet or the number of the sheet.
Result all the processed files will contain the selected property.
- Windows value®
Allows to recover the value of a Windows property® or of part of the value (see the zone of edition of the values).
The recovered values are: name, the author, the comment, etc…
Result all the processed files will contain the Windows property® selected.
- Value of a counter SmartCounter
Allows to recover a definite counter as a preliminary SmartProperties or by (see SmartCounter).
Result all the processed files will contain the value of an incremented counter.
- Date
Allows to recover the current date in order to include it in the name of the file.
Result, all the processed files will contain the date.
Example :
''ENS – 2017.03.23 xxxx.sldprt''.
- Hour
Allows to recover the hour in order to include it in the name of the file.
Result, all the processed files will contain the hour.
Example :
''ENS – 2017.03.27 & 14-25-55 xxxx.sldprt''.
- Zone of edition of the values
The values can be completely or partially recovered for the creation of the new file name.
- All the field
If this option is checked, all the value of the property will be completely taken into account
First characters
By checking this option only them X first characters of the recovered value will be kept.
Example :
If the value of the property “ Supplier ” recovered is “ Visiativ Solution ”, the value kept for the renaming is “ Visiativ ” corresponding to 8 first characters.
- Last characters
By checking this option only them N last characters of the recovered value will be kept.
Example :
If the value of the property “ Supplier ” recovered is “ Visiativ Solution ”, the value kept for the renaming is “ Solution ” corresponding to 8 last characters.
- A portion of the field
By checking this option only part of the recovered value is kept.
Example :
If the value to be recovered is the name of the configuration and that name is “ Dim 40x60 ”, the kept value is “ 40x60 ”.
- Cutting
By checking this option part of the recovered value is kept, provided that a separating character exists.
One defines the separating character then one specifies the number of the zone to be recovered (0 being the first zone).
Example :
If the value to be recovered is the name of the file and that name is “ Pr-0015-Internal-032 ”, the kept value is “ Internal ” for a definite index of 2.
- To Suppress first/last characters
By checking this option part of the recovered value is kept, since the beginning and/or the end.
Example :
If the value to be recovered is the name of the file and that name is “ Pr-0015-Internal-032 ”, the kept value is “ Internal ”, they are removed 8 first characters as well as 4 last characters.