How to reset the origin of an object
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-06-18
02:16 AM
- last edited on
‎2023-05-24
11:57 AM
by
Rubia Torres
‎2009-06-18
02:16 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-06-18 02:38 AM
‎2009-06-18
02:38 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-06-18 02:50 AM
‎2009-06-18
02:50 AM
Hi Peter,
Many thanks for your help. I realised that it was created on a story, not on zero. That's why.
Again, thanks
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-06-18 03:07 AM
‎2009-06-18
03:07 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-06-18 03:41 AM
‎2009-06-18
03:41 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-06-18 08:37 AM
‎2009-06-18
08:37 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-06-18 08:45 AM
‎2009-06-18
08:45 AM
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
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