Possible operation on the parts, the assemblies or drawings.

This operation makes it possible to modify part of the value of a property of the document traversed by a character string.

Example :

In the value of the property ''Description'', one wishes to replace ''123'' by ''abc''. To use the character ''|'' like separator.

 


  • You can use the character ''*'' placed in front of or behind a specific character string:
    • *123*|abc - Replace the character string 123 by abc some either its position in the field.

Example: The value 456-12345-APP will become 456-abc45-APP after application of the operation.

    • 123*|abc - Replace the character string 123 by abc only if it is positioned at the field beginning.

Example: The value 12345-APP-01 will become abc45-APP-01 after application of the operation.

    • *123|abc - Replace the character string 123 by abc only if it is positioned at the end of the field.

Example: The value APP68-01-123 will become APP68-01-abc after application of the operation.


  • You can use the character ''#'' placed in front of or behind a specific character string:
    • #1s4|2013 - Replace by 2013 the zone of the field while starting with the 1st character on 4 characters.

Example: The value 4560-45-APP will become 2013-45-APP after application of the operation.

    • #3e3|2013 - Replace by 2013 the zone of the field since the 3rd character on the basis of the end on 3 characters.

Example: The value PROJ-45-1999 will become PROJ-45-2013 after application of the operation.

    • *123|abc - Replace the character string 123 by abc only if it is positioned at the end of the field.

Example: The value APP68-01-123 will become APP68-01-abc after application of the operation.


  • Rather than to specify a character string in the value of replacement, you can use the character ''$'' in order to recover the contents of a property of the document:
    • #1s4|Code_Article - Replace by the value of the property ''Code_Article'' the zone of the field while starting with the 1st character on 4 characters.

Example: The value 4560-45-APP will become 3-22-45-APP after application of the operation by considering that the property ''Code_Article'' is equal to ''3-22''.


  • You can also use the instructions coded to specify the value of replacement.  WELL CASE SENSITIVE

<FileName> to display the name of the document.

<PathName> to display the complete path of safeguard of the document.

$Name of the property to display a value of property of the document (if the name of the property contains a space, to use %20% to replace this space).

<Configuration> to display the name of the configuration document activates.

<Date> to display the date.

<Time> to display the hour.

<NewLine> to pass to the line.