BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Archicad C++ API
About Archicad add-on development using the C++ API.

How to get the "Master Layout Settings - Grid Setup" data?

ReignBough
Enthusiast
I've tried using the APIEnv_GetNumberingGridLinesID. It gives the grids coordinates and based on these lines I can get the following:
  •  
  • Number of Cells
  •  
  • Distance from Margin
  •  
  • Grid line type (and color)
How/where can I get the "Start from" and "Primary Direction"? (When I got the grid lines, I assumed that the start and end points of each lines will tell me the "Start from", but they don't.)

- OR BETTER -

How/where can I get the complete information about this settings?

EDIT 1:

I found out that the grid values are the one shown on the layout. That is, if a grid was split into two by a drawing, this will now become two grid values.
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
1 REPLY 1
ReignBough
Enthusiast
bump
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Learn and get certified!