cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

GDL: 2D Object Origin

Lingwisyer
Guru

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 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
10 REPLIES 10

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

DavidShorter_0-1705915830994.png

The default placement hotspot will be at 0,0 (the centre of the object)

Archicad 4.1 to 28 Tech Preview. Apple Silicon
you can't build a line
Mac Studio
iPad Pro
iPhone