MergeVolumesParams#

class 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 MergeVolumesParams object 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 MergeVolumesParams object with provided parameters.

Examples

>>> merge_volumes_params = prime.MergeVolumesParams(model = model)

Methods

MergeVolumesParams.print_default()

Print the default values of MergeVolumesParams object.

MergeVolumesParams.set_default([...])

Set the default values of the MergeVolumesParams object.

Attributes

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.