Attrib String Edit
surface node
Edits string attribute values.
See also: Attribute
The attributes may be explicitly specified in the corresponding attribute text field. Exclusion is specified by preceding an attribute name with the carat character (^). All available attributes can be specified by leaving the field blank or entering an asterisk (*) in the field. If the first attribute is preceded by a carat then all attributes are assumed to be transferred except where explicitly excluded. In all other cases, no attributes are assumed except where explicitly included. Note that only string attributes are considered.
The active filters that are defined in the Editor tab are applied in sequence to the attributes that are specified in the Attributes tab.
The From and To parameters are any string patterns like “str[1-9:2]” or “t[xyz]”. The From parameter also allows matching patterns like “str* and str?”.
Examples
Assuming an input of str1 str2 str3:
| str? | t? | t1 t2 t3 |
| * | op:* | op:str1 op:str2 op:str3 |
| *r* | *ring* | string1 string2 string3 |
| *[1-3:2] | foot[11-13:2] | foot11 str2 foot13 |
| * | string[3,1,2] | string3 string1 string2 |
Parameters
|
Detail |
String detail attributes to edit. |
|
Primitives |
String primitive attributes to edit. |
|
Points |
String point attributes to edit. |
|
Vertices |
String vertex attributes to edit. |
|
Global |
When this option is on, the From pattern is replaced for each occurrence in the string. When off, only the first occurrence is replaced. |
|
From |
The string pattern to rename. See examples above. |
|
To |
The replacement pattern for the string. See examples above. |
Usages in other examples
| Example name | Example for |
|---|