# IFC File Tools

The below provides some of the tools which GeometryGym provides for managing, manipulating, improving and federating IFC files. These are commands which are available in some of the plug-ins we provide but can also be provided as standalone executable files which can be run outside of a native application.

### Ifc Merge

The **Ifc Merge** tool allows the merging of multiple (2 or more) IFC files and then merges them into one federated file.

First the user will be prompted to select the Master file for the merging operation. Once the master file has been selected you can perform a multiple file select for the remaining Ifc files to be merged within. You will need to ensure that all files are in the same folder to ensure you can select them all at once. Finally you will be prompted where to save the merged file.

This tool can be accessed by running the **ggIFCMerge** command in Rhino3d or selecting **IFC Merge** from the **Ifc Files** drop down in Revit.

{% hint style="warning" %}
Caution should be taken when merging Ifc files. Please contact <support@geometrygym.com> for any queries regarding merging.
{% endhint %}

### Ifc Difference (Ifc Diff)

The **ggIFCDiff** routine can detect changes between two ifc files, and then generates a third file defining only the changes. You can then import this delta, saving on lots of time in the model.

### Ifc Optimize

**`ggIFCOptimize`**

### Ifc Optimize Folder

**`ggIFCOptimizeFolder`**

### IFC Convert Id

**`ggIFCConvertId`**

{% hint style="warning" %}
It might be worth getting a review of the delta by the model authors.
{% endhint %}

### IFC Extract Ids

**`ggIFCExtractIds`**

### IFC Find Id

**`ggIFCFindId`**


---

# 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://technical.geometrygym.com/rhino-grasshopper/ifc/ifc-for-rhino/general-tools.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.
