Share

duplicate_points

Duplicates the specified points. All specified per-point properties will also be duplicated. This is valid for all point-based geometry types (points, strands, and meshes).

Inputs

geometry

A point-based geometry to duplicate points from.

point_indices

The indices of the points to duplicate.

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, including those that target components other than points (such as faces and face-vertices in the case of meshes). 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".
  • Use the value * on its own to transfer all geo properties.
  • Use an empty string to prevent any geo properties from being transferred, except for those that are required by a geometry's schema (point_position for point objects, as well as face_offset and face_vertex for meshes, and so on).
  • 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_geometry

The new geometry with the duplicated points.

original_point_count

The number of points in the input geometry.

new_point_count

The number of points in the output out_geometry.

Was this information helpful?