diff --git a/extensions/pyRevitTools.extension/pyRevit.tab/Modify.panel/edit2.stack/ReValue.pushbutton/ReValueWindow.xaml b/extensions/pyRevitTools.extension/pyRevit.tab/Modify.panel/edit2.stack/ReValue.pushbutton/ReValueWindow.xaml index ac5007e29..a05eeffbb 100644 --- a/extensions/pyRevitTools.extension/pyRevit.tab/Modify.panel/edit2.stack/ReValue.pushbutton/ReValueWindow.xaml +++ b/extensions/pyRevitTools.extension/pyRevit.tab/Modify.panel/edit2.stack/ReValue.pushbutton/ReValueWindow.xaml @@ -15,8 +15,26 @@ Height="24" SelectionChanged="on_param_change"/> + + + + By Format + + Specify the existing pattern of the values in the first box and a new format in the second box. For example, + if value is "OVERALL 1ST FLOOR", the first box can contain "{type} {lvl}ST {name}". + The tool will match the specified format to the value and will extract the parts accordingly. Using the second box, + you can rearrange these extracted parts. In this example, specifying "LEVEL {lvl} - {type} {name} PLAN" + inside the second box will revalue to "LEVEL 1 - OVERALL FLOOR PLAN" + + + By Regular Expression + + If the first box does not contain a format finder "{}", then the tool works in Find/Replace mode with Regular Expression support. + + + - Original Format: + Original Pattern: - New Format: + New Pattern: