We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

How to reset the origin of an object

Anonymous
Not applicable
Hi all,
I'm learning GDL and creating a test window to be inserted into walls.
However when inserting, the window is not staying in the wall but a distance apart. Please see attached file.
I guess the problem is the origin coordinate but not sure.
Does anybody know the problem and how to fix it ?
Please advise.
Many thanks
6 REPLIES 6
Anonymous
Not applicable
Is this window auto-scripted ?
I have seen this happen with an auto-scripted window
that was made in the plan on a story other than the
zero story. The window is displaced from the wall
exactly the distance between the zero story and
the story the window was built on before being
saved as an object. To fix the problem you either
have to build your window on the zero story or
put an ADDZ command in the 3D script with this
exact distance either plus or minus.
Peter Devlin
Anonymous
Not applicable
Hi Peter,
Many thanks for your help. I realised that it was created on a story, not on zero. That's why.
Again, thanks
Anonymous
Not applicable
Hi,
it's me again.
I have re-created this window (auto-scripted) on zero level. However the problem is still.
As for your input regarding the ADD Z script line, I'm not sure where can I place it in the scripts as I'm not really a good at it yet.
Can you please advise.
Thanks
Anonymous
Not applicable
I am surprised the problem still exists.
If you measure the distance from the outside
face of the window frame to the outside face
of the wall then use this exact distance in an
ADDZ command in the 3D script.
At the very beginning of the 3D script on it's own line type
addz 3.78 or what ever the distance is (I assume you are using Meters)
I don't know whether this value should be plus or minus.
You will have to try it both ways. Notice that addz is one word
no space between add and z.
Peter Devlin
Anonymous
Not applicable
Hi Peter,
A level/story always exists (supposed to be ground level). And I've created my window on this. So I still don't understand why !

Regarding the 3D Script, I've added the ADDZ -3.2 (for example) but it still the same. So I guess it's not this issue.
Do you have any idea?
Thanks
Anonymous
Not applicable
hi Peter,
Problem fixed!. It was in the Slab Setting,distance to home story, when I use this command to build the window. I did not notice this small box.
MAny thanks for your help