Share

delete_strands

Removes the specified strands from a strands object.

Inputs

strands

The strands object to delete strands from.

strands_to_delete

The strands to delete. This port accepts the same inputs as interpret_auto_port_as_component_tag:

  • An array<bool> is interpreted as values per-strand. The array gets passed through, but may be resized to match the number of elements on the strands input.
  • An array<long> or array<uint> is interpreted as strand indices.
  • A string is interpreted as the name of an existing tag or a tag expression. See the documentation for resolve_tag_expression for more details on the tag expression syntax.

properties

The names of geo properties to transfer to the new geometry, such as point_color. Make sure to include all geo properties that you want. Properties that are not geo properties are always transferred.

  • Separate multiple geo property names with spaces.
  • You can use the wildcard * in expressions, for example, point_user* to transfer all geo properties that begin with the string "point_user".
  • The default value * transfers all geo properties.
  • Use an empty string to prevent any geo properties from being transferred, except for those that are required by the strands schema.
  • Use a * followed by a ! to exclude a property. For example * !point_user* includes all properties, except ones that begin with the string "point_user"

Outputs

out_strands

A new strands object without the specified strands.

Was this information helpful?