# Extract Mesh Part

## <img src="/files/j8ss7huqSyxcxKcj7M0s" alt="" data-size="line"> Extract Mesh Part <a href="#profiles" id="profiles"></a>

The ExtractMeshPart command extracts all mesh faces radiating out from the selected face to unwelded, non-manifold, or naked edges in the parent mesh object.

### Command-line options

The scriptable command, -ExtractMeshPart, provides extra options.

### **BorderOnly**

Creates line segments from the boundary edges of the selected mesh face group.

<div align="left"><img src="https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/extractmeshpart_borderonly.gif" alt=""></div>

### **MakeCopy**

Duplicates the selected mesh face group instead of extracting it.

### **ExtractWholeDisjointParts**

* **Yes:** Extracts the selected part in the mesh that does not physically join to other parts.

<div align="left"><img src="https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/extractmeshpart_extractwholedisjointparts.gif" alt=""></div>

* **No:** The ExtractToNonManifoldEdges option decides how mesh faces are extracted.
  * **ExtractToNonManifoldEdges**

**Yes:** Extraction stops at non-manifold edges.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/extractmeshpart_extracttononmanifoldedges_yes.gif)

**No:** Extraction stops at unwelded edges.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/extractmeshpart_extracttononmanifoldedges_no.gif)

### **JoinOutput**

Joins the extracted mesh faces into a mesh object.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rhinoartisan.com/commands/mesh/extract-mesh-faces/extract-mesh-part.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
