Modifies a field in a property value
Operation possible on parts, assemblies or drawings.
This operation modifies part of the value of a property in the document browsed by a character string.
Example :
In the property value ''Description'', we want to replace ''123'' by ''abc''. Use the '' character|as a separator.
- You can use the '' character*'' placed in front of or behind a specific character string :
- *123*|abc - Replace string 123 by abc whatever its position in the field.
Example: The value 456-12345-APP will become 456-abc45-APP after the operation.
- 123*|abc - Replace string 123 by abc only if positioned at the beginning of the field.
Example: The value 12345-APP-01 will become abc45-APP-01 after the operation.
- *123|abc - Replace string 123 by abc only if positioned at the end of the field.
Example: The value APP68-01-123 will become APP68-01-abc after the operation.
- You can use the '' character#'' placed in front of or behind a specific character string :
- #1s4|2013 - Replace with 2013 the field area, starting with the 1st character out of 4 characters.
Example: The value 4560-45-APP will become 2013-45-APP after the operation.
- #3e3|2013 - Replace with 2013 the field area from the 3rd character from the end over 3 characters.
Example: The value PROJ-45-1999 will become PROJ-45-2013 after the operation.
- *123|abc - Replace string 123 by abc only if positioned at the end of the field.
Example: The value APP68-01-123 will become APP68-01-abc after the operation.
- Instead of specifying a string in the replacement value, you can use the '' character.$'' to retrieve the contents of a document property :
- #1s4|$Article_Code - Replace with property value ''.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 instructions to specify the replacement value. RESPECT THE CASE
<FileName> to display the document name.
<PathName> to display the full document backup path.
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 document's active configuration.
<Date> to display the date.
<Time> to display the time.
<NewLine> to move to the next line.