    

 ## On this page

  

 

 # set\_default

 Last update: 20.02.2026 

<a id="ansys.meshing.prime.ContactPreventionParams.set_default"></a>

#### *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.