Operation possible on parts, assemblies or drawings.

This operation allows to modify a part of the value of a property of the document browsed by a character string.

Example :

In the value of the property ''Description'', we wish to replace ''123'' by ''abc''. Use the '' character|'' as a separator.

 


  • You can use the '' character*'' placed before or after a specific string:
    • *123*|abc - Replace the string 123 by abc regardless of 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 string 123 by abc only if it is positioned at the beginning of the field.

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

    • *123|abc - Replace the 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 before or after a specific string:
    • #1s4|2013 - Replace with 2013 the field area starting with the first character out of 4 characters.

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

    • #3e3|2013 - Replace with 2013 the field area from the 3rd character from 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 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.


  • Instead of specifying a string in the replacement value, you can use the '' character$'' in order to retrieve the content of a document property :
    • #1s4|$Article_Code - Replace with the value of the property ''.Item_Code'' the field area starting with the 1st character out of 4 characters.

Example: The value 4560-45-APP will become 3-22-45-APP after applying the operation considering that the property ''Item_Code'' is equal to ''3-22''.


  • You can also use coded statements to specify the replacement value. RESPECT THE CASE

<FileName> to display the document name.

<PathName> to display the full path of the document.

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

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

<Date> to display the date.

<Time> to display the time.

<NewLine> to go to the line.