MergeVolumesParams
Last update: 20.02.2026class ansys.meshing.prime.MergeVolumesParams(model=None, merge_to_neighbor_volume=None, neighbor_volumes=None, json_data=None, **kwargs)
Parameters to merge volumes.
-
Parameters:
model: Model : Model to create a
MergeVolumesParamsobject with default parameters.merge_to_neighbor_volume: bool, optional : Option to merge given volumes to their neighbor volume.
neighbor_volumes: Iterable[int], optional : Ids of volume that are neighbors to given volumes for merging.
json_data: dict, optional : JSON dictionary to create a
MergeVolumesParamsobject with provided parameters.
Examples
>>> merge_volumes_params = prime.MergeVolumesParams(model = model)
Methods
| Name | Description |
|---|---|
MergeVolumesParams.print_default() |
Print the default values of MergeVolumesParams object. |
MergeVolumesParams.set_default([...]) |
Set the default values of the MergeVolumesParams object. |
Attributes
| Name | Description |
|---|---|
MergeVolumesParams.merge_to_neighbor_volume |
Option to merge given volumes to their neighbor volume. |
MergeVolumesParams.neighbor_volumes |
Ids of volume that are neighbors to given volumes for merging. |