

Otherwise, if a file or nothing is selected, the current directory is opened in the file explorer. When the “Open in file explorer” option is selected, if the selected item is a directory, it will be opened in the system file explorer. The context menu that appears when right-clicking a directory in the files list now includes “Add to favorites”, “Remove from favorites”, “Rename”, and “Open in file explorer” options. Buttons to “Add current directory to favorites”, “Remove current directory from favorites” and “Reset favorites to system default” are available in the dialog. You can now customize a set of favorite directories displayed in file dialogs. Favorite directory customization in file dialog ParaView now uses the ) substitution for encoding camera information in the output File Name property.Įxample of new string formatting in an Annotate Time filter. The format of text strings used to reference certain quantities in ParaView have been standardized across sources, filters, and views.
#Paraview plugins code#
If your custom code was simply checking user selections from vtkPVOptions or subclasses, change it to using the corresponding *Configuration singleton Consistent string substitutions and formatting across ParaView Custom applications can easily add their own *Configuration classes to populate vtkCLIOptions to custom options or override the default ParaView ones. vtkCLIOptions handle the parsing (using CLI11), while singletons such as vtkProcessModuleConfiguration, vtkRemotingCoreConfiguration, pqCoreConfiguration maintain the state and also populate vtkCLIOptions with supported flags/options. Instead of a single class that handled the parsing of the defining of command line flags/options, command-line arguments, and then keep state for the flag/option selections, the new design uses two different classes. VtkPVOptions and subclasses are deprecated. If the option is not specified on the command line, then that denoted environment variable will be used to fetch the value for that option (or flag). Several options support overriding default values using environment variables. Also, in most terminals, the text width is automatically adjusted to the terminal width and text is wrapped to make it easier to read. Mutually exclusive options and deprecated options are clearly marked to minimize confusion. Options are grouped, making it easier to inspect related options together. The -help output for all ParaView executables is now better formatted. Since this conflicts with some of the other more flexible ways of specifying options in CLI11, we limit ourselves to the ways listed above until this legacy behavior is no longer supported. Currently, this is done automatically to avoid disruption and a warning is raised. Instead, one should add use - as the prefix for such options, e.g., -url=. could be used as the prefix for long-named options. This is because ParaView traditionally supported options of form -long=value i.e. Note this is a subset of ways supported by CLI11 itself.

#Paraview plugins full#
The full list of issues addressed by this release is available here. Major changes made since ParaView 5.9.1 are listed in this document.
