Skip to main content

Prime Mesh Python client library 2026 R1

set_default

Last update: 02.04.2026

static ContactPreventionParams.set_default(source_scope=None, target_scope=None, size=None)

Set the default values of the ContactPreventionParams object.

Parameters:

source_scope: ScopeDefinition, optional

Source scope used for contact prevention control.

target_scope: ScopeDefinition, optional

Target scope used for contact prevention control.

size: float, optional

Minimum gap size (gap/4) to resolve contact between source and target.

Connect with Ansys