Skip to main content

Prime Mesh Python client library 2026 R1

create_zone

Last update: 02.04.2026

Model.create_zone(suggested_name, type)

Creates zone for the given zone type.

Parameters:

suggested_name

Suggested name for the zone to be created.

type

Type of the zone to be created.

Returns:

CreateZoneResults

Returns the CreateZoneResults.

Return type:

CreateZoneResults

Examples

>>> client = prime.launch_prime()
>>> model = client.model
>>> results = model.create_zone("wall", prime.ZoneType.FACE)

Connect with Ansys