    

 ## On this page

  

 

 # set\_default

 Last update: 20.02.2026 

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

#### *static* SetContactPreventionsResults.set\_default(error\_code=None, ids=None)

Set the default values of the `SetContactPreventionsResults` object.

- **Parameters:**
    
    **error\_code: ErrorCode, optional**: Error code associated with the set contact preventions.
    
    **ids: Iterable\[int\], optional**: Ids of added contact prevention controls.