> For the complete documentation index, see [llms.txt](https://docs.meshmorpher.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meshmorpher.com/graph/geometry/replace-geometry.md).

# Replace Geometry

<div align="left"><figure><img src="/files/3dYyjJcTR1FDqlIuSRkD" alt=""><figcaption></figcaption></figure></div>

```
/**
 * Node that replaces geometry in a mesh while preserving materials and weights.
 * 
 * Swaps triangles from a selection with geometry from another mesh,
 * with options for weight transfer and material assignment.
 * 
 * Usage:
 * 1. Connect source mesh, replacement geometry, and selection
 * 2. Configure weight transfer method
 * 3. Click Apply to replace geometry
 */
```
