# Move linked IFC to right coordinate system

**URL:** <https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767>\
**Category:** Revit\
**Tags:** revit, python, dynamo, ifc, link\
**Created:** [August 11, 2022, 9:08am UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767 "2022-08-11T09:08:30Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![simo18d2](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@simo18d2](https://forum.dynamobim.com/u/simo18d2)\
**Post date:** [August 11, 2022, 9:08am UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/1 "2022-08-11T09:08:30Z")

</div>

Hi everyone!

I am trying to move linked IFC to match the correct host model coordinate system and angle to true north.

I have collected both information but now I am stuck on how to translate and rotate the link.

I was trying to follow this nice guide but the python script doesn’t work for me.  
[Re-positioning an IFC link via Dynamo | Search | Autodesk Knowledge Network](https://knowledge.autodesk.com/fr/search-result/caas/simplecontent/content/re-positionnement-dun-lien-ifc-dynamo.html)

I have also read this post from the forum but it didn’t help me.  
[Move and rotate an IFC Linked file to the Revit base point using python - Developers - Dynamo (dynamobim.com)](https://forum.dynamobim.com/t/move-and-rotate-an-ifc-linked-file-to-the-revit-base-point-using-python/69433)

Can someone help me with this?  
Thank you!

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [August 11, 2022, 9:27am UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/2 "2022-08-11T09:27:35Z")

</div>

Have you tried GeometryGym?

> **[IFC Import Options](https://technical.geometrygym.com/revit/revitifc/ifc-import/ifc-import-options)**
>
> Explains IFC Import options when using IFC Import function

---

<div class="post-metadata">

**Author:** ![simo18d2](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@simo18d2](https://forum.dynamobim.com/u/simo18d2)\
**Post date:** [August 11, 2022, 9:48am UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/3 "2022-08-11T09:48:05Z")

</div>

Thank you Marcin I will try it.

But I am still looking for a definitive technical solution using Dynamo and Revit 2021 without having to install adds-in.

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [August 11, 2022, 10:20am UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/4 "2022-08-11T10:20:37Z")

</div>

Hi @simo18d2,

The _Element SetLocation_ and _Element SetRotation_ nodes from the _Genius Loci_ Package can help you to move your link.

---

<div class="post-metadata">

**Author:** ![simo18d2](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@simo18d2](https://forum.dynamobim.com/u/simo18d2)\
**Post date:** [August 11, 2022, 10:36am UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/5 "2022-08-11T10:36:39Z")

</div>

Hi Alban,  
I tried to use the _Element SetLocation_ but with no result because the link does not move.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/7/0786290460a0156442be7a02b2c985d032d8be56.png)

Here I am selecting the IFC link and try to set the location based on the project base point. according to below picture.

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/3/6389bf72b1295f1da3bde1c0cb52732fd337c308.png)

Any thoughts on this?

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [August 11, 2022, 12:22pm UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/6 "2022-08-11T12:22:16Z")

</div>

Hi,

It is not the right node.  
The _Element SetLocation_ node from the _Genius Loci_ package will work.

---

<div class="post-metadata">

**Author:** ![simo18d2](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@simo18d2](https://forum.dynamobim.com/u/simo18d2)\
**Post date:** [August 11, 2022, 12:59pm UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/7 "2022-08-11T12:59:06Z")

</div>

Hello Alban,

sorry about the misunderstanding.

Now I am using the correct node, nevertheless I still have problem moving the link. (rotation works!)

I have attached the rvt file and dynamo script. Could you please have a look at it when you can? I believe that I am doing something wrong with the coordinates…  
Below a sketch of the desire result.

Thank you very much for the help!!

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/2/227d8c6109c3869554dddc7a2a1cd79e6fcb8818.png)  
[Translate IFC link.dyn](https://forum.dynamobim.com/uploads/short-url/kp8sfeoZgDENoYaC7c0HtpH07Rl.dyn) (22.3 KB)  
[I70\_BBH\_LOP\_K01\_M65\_F3\_N401.rvt](https://forum.dynamobim.com/uploads/short-url/hQLil41poPj3R2IDmyEn5gyto10.rvt) (2.5 MB)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [August 13, 2022, 7:43am UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/8 "2022-08-13T07:43:20Z")

</div>

Hi,

Maybe you need to convert the project base point coordinates in internal origin coordinates ?  
Dynamo uses only the internal origin coordinates system.

 ![Translate IFC link to PBP](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/f/ef818ceb15cc7a486bcb3ffb8aad94159a8be483.png)  
[Translate IFC link to PBP.dyn](https://forum.dynamobim.com/uploads/short-url/bnxIHQzYLpwkavbtA7vpuTLO74l.dyn) (14.9 KB)

---

<div class="post-metadata">

**Author:** ![Andrew\_Hannell](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andrew_hannell/32/103315_2.png) [@Andrew\_Hannell](https://forum.dynamobim.com/u/Andrew_Hannell)\
**Post date:** [August 13, 2022, 8:02am UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/9 "2022-08-13T08:02:48Z")

</div>

I can’t remember the details- but viewing the IFC file in a text editor, possibly editing it sometimes does the trick

There is a line somewhere at the top of the file, something like line 19, IFCCARTESIANORIGIN- depending on your setup- this might need to be 0,0,0 or some other value

---

<div class="post-metadata">

**Author:** ![simo18d2](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@simo18d2](https://forum.dynamobim.com/u/simo18d2)\
**Post date:** [August 15, 2022, 1:31pm UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/10 "2022-08-15T13:31:42Z")

</div>

Thank you Alban it worked like a charm!

---

<div class="post-metadata">

**Author:** ![bano35R3K](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bano35R3K](https://forum.dynamobim.com/u/bano35R3K)\
**Post date:** [April 21, 2023, 3:32pm UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/11 "2023-04-21T15:32:35Z")

</div>

Amazing! Thank you very much! One question: how does “shared” placement mode in the “Link IFC”-Node? I get “null” as a result. Revit does not support shared coordinates for IFC-Links right?

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [April 21, 2023, 5:24pm UTC](https://forum.dynamobim.com/t/move-linked-ifc-to-right-coordinate-system/79767/12 "2023-04-21T17:24:41Z")

</div>

I don’t remember the conditions for which shared placement works.  
Here is what the API says:  
“Placement with respect to the shared coordinates. Revit Building places the imported geometry according to its location with respect to the shared coordinates between the two files. There must be shared coordinates in a Revit document in order for this option to be valid.”

Please start a new topic for new subject.

 ![Link Ifc 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/27b0f2728869c43109f57196e3c406ebfb2ecb54.png)
