geometry_create_box_selection
Create a named Box selection to target geometry entities by coordinate range, using entity dimension and condition to select boundaries or faces for meshing, physics, or material assignment.
Instructions
Create a named Box selection for geometry entities by position.
For a 2D model, use entity_dimension=1 to select boundaries. For a 3D model, use entity_dimension=2 to select boundary faces.
Args: selection_name: Stable selection tag x_min: Minimum x-coordinate expression x_max: Maximum x-coordinate expression y_min: Minimum y-coordinate expression y_max: Maximum y-coordinate expression z_min: Optional minimum z-coordinate expression z_max: Optional maximum z-coordinate expression entity_dimension: Entity dimension (default: 1) condition: Box condition, usually "intersects" or "inside" geometry_name: Geometry sequence tag (default: first geometry) component_name: Component name (default: "comp1") model_name: Model name (default: current model)
Returns: Created named selection and matched entity numbers when available
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selection_name": "<selection_name>",
"x_min": "<x_min>",
"x_max": "<x_max>",
"y_min": "<y_min>",
"y_max": "<y_max>"
},
"name": "geometry_create_box_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_max | Yes | ||
| x_min | Yes | ||
| y_max | Yes | ||
| y_min | Yes | ||
| z_max | No | ||
| z_min | No | ||
| condition | No | intersects | |
| model_name | No | ||
| geometry_name | No | ||
| component_name | No | comp1 | |
| selection_name | Yes | ||
| entity_dimension | No |