Ptcache Operators

bpy.ops.ptcache.add()

Add new cache

Returns:

Result of the operator call.

Return type:

set[Literal[Operator Return Items]]

bpy.ops.ptcache.bake(*, bake=False)

Bake physics

Parameters:

bake (bool) – Bake, (optional)

Returns:

Result of the operator call.

Return type:

set[Literal[Operator Return Items]]

bpy.ops.ptcache.bake_all(*, bake=True)

Bake all physics

Parameters:

bake (bool) – Bake, (optional)

Returns:

Result of the operator call.

Return type:

set[Literal[Operator Return Items]]

bpy.ops.ptcache.bake_from_cache()

Bake from cache

Returns:

Result of the operator call.

Return type:

set[Literal[Operator Return Items]]

bpy.ops.ptcache.free_bake()

Delete physics bake

Returns:

Result of the operator call.

Return type:

set[Literal[Operator Return Items]]

bpy.ops.ptcache.free_bake_all()

Delete all baked caches of all objects in the current scene

Returns:

Result of the operator call.

Return type:

set[Literal[Operator Return Items]]

bpy.ops.ptcache.remove()

Delete current cache

Returns:

Result of the operator call.

Return type:

set[Literal[Operator Return Items]]