Wardy wrote:
I just realised - I have not used A,B in any of the cript as variables. yet the bounding box reduces to the size of the object - A,B are still set to 1000, yet the bounding box in 3D is reduced to the maximum dimensions of the object - except ZZYZX is different...
Another inconsistency from Graphisoft I would say.
From what I can make out the bounding box will always start at zero and go up to the height of ZZYZX.
If you add a parameter to control the height (or x/y position) it will move the object outside the box.
The only way I can see is to leave the object scripted at zero and then have the user place the object at the desired height (i.e. not using a height parameter).
I hadn't really noticed this box much before but then I tend to place my objects in plan and adjust them in sections/elevations if necessary.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11