Skip to main content

Prime Mesh Python client library 2026 R1 SP01

BCPair

Last update: 29.04.2026

class ansys.meshing.prime.BCPair(model=None, source_zonelet=None, target_zonelet=None, type=None, json_data=None, **kwargs)

Used to define boundary conditions for match morphing.

Parameters:

model: Model

Model to create a BCPair object with default parameters.

source_zonelet: int, optional

Id of source zonelet.

target_zonelet: int, optional

Id of target zonelet.

type: BCPairType, optional

Option to specify boundary condition pair type.

json_data: dict, optional

JSON dictionary to create a BCPair object with provided parameters.

Examples

>>> b_cpair = prime.BCPair(model = model)

Methods

Name Description
BCPair.print_default() Print the default values of BCPair object.
BCPair.set_default([source_zonelet, ...]) Set the default values of the BCPair object.

Attributes

Name Description
BCPair.source_zonelet Id of source zonelet.
BCPair.target_zonelet Id of target zonelet.
BCPair.type Option to specify boundary condition pair type.

Connect with Ansys