Syntax
- setTagsFromEdgeAttrs()
Description
The setTagsFromEdgeAttrs operation converts string edge attributes stored on the initial shape to edge tags stored on the current shape's geometry. It samples one element from each string attribute array for each face edge of the current geometry and stores them as tags on that edge.
The edge attribute /edgeattr/ attributeName creates tags of the form "edgeattr.attributeName.sampledValue".
Related
Examples
String edge attribute setup
The initial shape has a string array with orientations set as edge attributes. See also Compute Edge Attributes tool. |
Setting edge tags
The string edge attributes are set as tags.
| |
If the geometry has been modified, the attribute value is sampled for each face edge. See also Sampling on face edges example.
|
Setback and edge tags
The edge tags stay on the geometry when applying further operations. In this example, the setback operation also automatically copies "edgeAttr.orientations.front" from the source edges to the new setback edges. This information can be combined with the setback auto-tags.
| |
The edge tag "edgeAttr.orientations.front" is also copied to the appropriate edges in the remainder.
|