We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-12-20 04:19 PM - last edited on 2024-09-16 02:57 PM by Doreena Deng
When placing objects after modelling something far away (-> local origin changes after save and open)
newly created objects are placed near that point.
For example:
element.object.pos.x = 0;
element.object.pos.y = 0;
I expect the object to be placed at the orginal (0,0) and not the local one.
How can I achieve this?
Thank you for your help,
Jonas
Solved! Go to Solution.
2023-12-21 07:55 AM
You can call ACAPI_ProjectSetting_GetOffset to get the current database offset, so you can calculate the origin accordingly.
2023-12-21 07:55 AM
You can call ACAPI_ProjectSetting_GetOffset to get the current database offset, so you can calculate the origin accordingly.