2023-08-01 12:34 PM - last edited on 2024-09-17 01:46 PM by Doreena Deng
Hi all
I believe I have messed up something really simple with the attached object
When I move or stretch it in the 3D window the object reference moves back as though the addz and addy have been removed(see the attached screenshot)
Any suggestions about the silly mistake I have made would be greatly appreicated
Cheers
Eric
Solved! Go to Solution.
2023-08-02 04:36 AM
Add this to the parameter or master script ...
ac_bottomlevel = -ZZYZX
PARAMETERS ac_bottomlevel = ac_bottomlevel
This will set the bottom level to match your beam height.
Usually the bottom level is zero to match the object.
I believe the edit reference is positioned from this bottom level.
As you are moving your beam in 3D, to need to also reset this bottom level.
The first time you stretch an already placed beam, it may still look wrong.
But the next time you stretch it, the value will reset and it will be good from then on.
If you place a new beam it will be good from the start because it already has the correct value.
Barry.
2023-08-01 02:30 PM
Hi Eric
I can confirm this behaviour of the editing feedbackmode which ignores the coordinates manipulation triggered by add
As a workaround I'd suggest to try using something like prism or slab, where you can exactly determine the position of each point.
https://gdl.graphisoft.com/reference-guide/basic-shapes
2023-08-02 04:29 AM
Hi Xandros
Thanks for your feedback
I have tried both the SLAB and the PRISM but they appear to generate the same issue
Cheers
Eric
2023-08-02 04:36 AM
Add this to the parameter or master script ...
ac_bottomlevel = -ZZYZX
PARAMETERS ac_bottomlevel = ac_bottomlevel
This will set the bottom level to match your beam height.
Usually the bottom level is zero to match the object.
I believe the edit reference is positioned from this bottom level.
As you are moving your beam in 3D, to need to also reset this bottom level.
The first time you stretch an already placed beam, it may still look wrong.
But the next time you stretch it, the value will reset and it will be good from then on.
If you place a new beam it will be good from the start because it already has the correct value.
Barry.
2023-08-02 09:10 PM
Thanks Barry
That worked perfectly. Your help was much appreicated
2023-08-04 09:16 AM
So one last question
Have got everything drawing and working correctly but it appears that instead of it showing a 'ghost' height it has moved it to the width of the object
Is there similar code to fix that or have I messed it up in some other way
Cheers
Eric