This SOP provides several common operations for editing dictionary attribute values, reducing the need to create VOP networks or write VEX code.
The subset of the input geometry to apply the modifications to. Leave this blank to affect all elements.
The name of the attribute to create or modify. If the attribute does not exist with the given name, it will be added to the selected Attribute Class.
Element type for the destination attribute (specified by Attribute Name).
Removes or renames existing keys in the dictionary.
Removes any keys from the dictionary which match this pattern.
Renames keys in the dictionary using one or more search/replace patterns.
The standard pattern renaming syntax from the replace_match function is used.
For example, if From is
*_to_* and To is
*-*, a key named
ab_to_cd will become
The string pattern to rename.
The replacement pattern for the string.
Creates key/value pairs from other attributes on the geometry.
Inserts all of the key/value pairs from any dictionary attribute in the Attribute Class which matches this pattern.
Delete Merged Attributes
If enabled, deletes the attributes matched by the Merge Dictionaries pattern after importing their values into the dictionary.
Creates a key/value pair from the name and value of each attribute in the Attribute Class which matches this pattern. Any dictionary attributes matched by the Merge Dictionaries pattern are skipped.
Delete Imported Attributes
If enabled, deletes the attributes matched by the Import Attributes pattern after importing their values into the dictionary.
Number of Entries
The number of key/value pairs to edit.
Toggles whether the key/value pair is created.
The string key to insert or modify the value for.
The data type of the dictionary value. To create values with complex data types (such as matrices, arrays, or dictionaries), the Import Attributes option can be used.
The value to insert into the dictionary for the Key.