Pointcloud Operators
- bpy.ops.pointcloud.attribute_set(*, value_float=0.0, value_float_vector_2d=(0.0, 0.0), value_float_vector_3d=(0.0, 0.0, 0.0), value_int=0, value_int_vector_2d=(0, 0), value_color=(1.0, 1.0, 1.0, 1.0), value_bool=False)
Set values of the active attribute for selected elements
- Parameters:
value_float (float) – Value, (in [-inf, inf], optional)
value_float_vector_2d (Sequence[float]) – Value, (array of 2 items, in [-inf, inf], optional)
value_float_vector_3d (Sequence[float]) – Value, (array of 3 items, in [-inf, inf], optional)
value_int (int) – Value, (in [-inf, inf], optional)
value_int_vector_2d (Sequence[int]) – Value, (array of 2 items, in [-inf, inf], optional)
value_color (Sequence[float]) – Value, (array of 4 items, in [-inf, inf], optional)
value_bool (bool) – Value, (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.pointcloud.delete()
Remove selected points
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.pointcloud.duplicate()
Copy selected points
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.pointcloud.duplicate_move(*, POINTCLOUD_OT_duplicate={}, TRANSFORM_OT_translate={})
Make copies of selected elements and move them
- Parameters:
POINTCLOUD_OT_duplicate (dict[str, Any]) – Duplicate, Copy selected points (optional,
bpy.ops.pointcloud.duplicatekeyword arguments)TRANSFORM_OT_translate (dict[str, Any]) – Move, Move selected items (optional,
bpy.ops.transform.translatekeyword arguments)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.pointcloud.select_all(*, action='TOGGLE')
(De)select all point cloud
- Parameters:
action (Literal['TOGGLE', 'SELECT', 'DESELECT', 'INVERT']) –
Action, Selection action to execute (optional)
TOGGLEToggle – Toggle selection for all elements.SELECTSelect – Select all elements.DESELECTDeselect – Deselect all elements.INVERTInvert – Invert selection of all elements.
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.pointcloud.select_random(*, seed=0, probability=0.5)
Randomizes existing selection or create new random selection
- Parameters:
seed (int) – Seed, Source of randomness (in [-inf, inf], optional)
probability (float) – Probability, Chance of every point being included in the selection (in [0, 1], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.pointcloud.separate()
Separate selected geometry into a new point cloud
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]