# Why do models become displaced after replacement/update?

> Similar question:
>
> \- Why does the brush plant produce an offset after updating/replacing the model?

## Solution:

1. **Import the model directly in D5** : <mark style="background-color:purple;">After importing the model, click the "Sync Coordinates" immediately.</mark> Then, if you update the model, even the overall range (bounding box) of the model changes, the model will remain in place.&#x20;
2. **Use D5 Workflow Plugin** : If the D5 converter is used in the sync workflow, there will be no displacement issues.

<div align="left"><figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FkpverTMNRyFxSccfrvx6%2F16C1017C-F9F4-4391-81A5-168973A9A6EF.png?alt=media&#x26;token=5d500df3-edab-4276-9d0f-011a796683aa" alt=""><figcaption></figcaption></figure></div>

## The reason for the issue:

The coordinates of the model that is imported directly into D5 is set to the default point A at the bottom center of the model.&#x20;

If the overall range(bounding box) of the model is changed after replacement, the position of the coordinate axis will be recalculated and changed to point B, which can cause displacement issues.

<mark style="background-color:purple;">By clicking the "Sync Coordinates" after selecting the model, the model will be restored to its absolute modeling coordinate position.</mark>

{% hint style="info" %}
**Note:**

**If the imported model is a .d5a file with group structures**, please <mark style="background-color:purple;">perform the ‘Sync Coordinates’ after the first import and after replacing the model, respectively</mark>.

<img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FeroV2ZmCLghvmncs1KM4%2Fsync2_compressed.gif?alt=media&#x26;token=c86917a6-4299-42a8-9f5a-160e19cb13f1" alt="" data-size="original">
{% endhint %}

***

**e.g.**

(As shown in the figure below) if you have three models, a square, a circle, and a rectangle, and the coordinate origin of the models is at point A (D5's coordinate axis is set to the bottom center of the model by default).

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2F8ZD0JQ5JwcflCDXFAlM0%2Fimage.png?alt=media&#x26;token=3d58f1cd-36ed-4fe6-8dcb-49b667d49619" alt=""><figcaption><p>If we delete the rectangle, the coordinate origin of the model will change from point A to point B.</p></figcaption></figure>

<figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2F0eazxzTrsN8JCfAyMtwM%2Fimage.png?alt=media&#x26;token=80d93b1d-e158-411d-b83b-f7b5de5e7104" alt=""><figcaption><p>If we align the coordinate axis at this time, the models will move.</p></figcaption></figure>

***

This is why the model stays in place even if the bounding box changes.

<div align="center"><figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2Fywp4YBQTZkYo45xduqKE%2Fimage2.png?alt=media&#x26;token=672acd77-8a0d-4005-b3e6-5a77ed8fa7dc" alt=""><figcaption><p>By using the "Sync Coordinates", the model will be moved to the position of the coordinates in the modeling software.</p></figcaption></figure></div>

<div align="center"><figure><img src="https://3611830798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjbN1iGmN_HBnj_fyU9%2Fuploads%2FBtZfo8DbSAfy1y0jkeCZ%2Fimage3.png?alt=media&#x26;token=b8fd85c6-bcd3-4922-9c52-328a33753e48" alt=""><figcaption><p>If you make changes to the model at this time (with the little tiger as the reference object), the position of the model will not be displaced anymore!</p></figcaption></figure></div>


---

# 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.d5render.com/model/why-do-models-become-displaced-after-replacement-update.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.
