SOLVED!
APIDb_GetOffsetID
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-30
10:43 AM
- last edited on
‎2021-09-14
09:50 AM
by
Noemi Balogh
‎2021-03-30
10:43 AM
I've have tried to figure out how to utilize APIDb_GetOffsetID in my plugin, but I can't seem to figure out how to use it. When I try to get the offset in a project, the returned value is always (0, 0), which probably makes perfect sense. My question is just, how do I configure a project in Archicad in order to change this value?
Solved! Go to Solution.
Labels:
- Labels:
-
Add-On (C++)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-30 04:50 PM
‎2021-03-30
04:50 PM
This offset is an internal value, and only used if the user creates their model very far from the origin. In this case Archicad offsets the model internally so there will be no number precision problems.
To make this set you should create a model very far from the user origin (e.g. 100 kilometers), save the plan, and open it again (offset calculation happens during file open).
To make this set you should create a model very far from the user origin (e.g. 100 kilometers), save the plan, and open it again (offset calculation happens during file open).
2 REPLIES 2
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-30 04:50 PM
‎2021-03-30
04:50 PM
This offset is an internal value, and only used if the user creates their model very far from the origin. In this case Archicad offsets the model internally so there will be no number precision problems.
To make this set you should create a model very far from the user origin (e.g. 100 kilometers), save the plan, and open it again (offset calculation happens during file open).
To make this set you should create a model very far from the user origin (e.g. 100 kilometers), save the plan, and open it again (offset calculation happens during file open).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-31 08:56 AM
‎2021-03-31
08:56 AM
Thanks, I will try this out!