We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-04-24 08:29 AM - edited 2023-04-24 09:23 AM
Hi all,
Is there a way to set the origin of a 2D object created from the floorplan? I am wanting to add the option of calling a custom symbol, but the origin is always the bottom left no matter the position of the original saved out elements when means it never sits in the corrected location when called.
At the moment you have to draw on (0, 0) then edit the generated script removing the ADD2 and MUL2 commands... It would be a lot more user friendly to not need to do the code modification...
Ling.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2024-01-22 10:33 AM
Barry had the key. define a 2D hotspot2 0,0 in the first part of the script.
Create the object centred at the Archicad origin
remove the ADD statement
In Compatibility Options uncheck the 'Hotspots in bounding box' option.
(If this is left checked the default will reman bottom left)
add scripted bounding box hotspots
The default placement hotspot will be at 0,0 (the centre of the object)