delete_brush
Deletes a specific brush from an entity in a .map file and saves the change, prompting TrenchBroom to reload the map. Solves removing unwanted geometry while preserving unsaved edits.
Instructions
Delete one brush from an entity. Writes the file; TrenchBroom-HL reloads it automatically, but asks first - and defaults to KEEPING the editor version - if the document has unsaved edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_path | Yes | Absolute path to the .map file | |
| brush_index | Yes | Brush index within the entity, from get_entity | |
| entity_index | Yes |