cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Streamline your workflows and master BIM coordination! Program starts April 28!

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

Grid coordinates

Anonymous
Not applicable
Is it possible to get x, y, coordinates by clicking on grid ?
Or get coordinates from clicked position - object or grid.
2 REPLIES 2
Rinovo wrote:
Is it possible to get x, y, coordinates by clicking on grid ?
Or get coordinates from clicked position - object or grid.
Do you want to prompt the user to click somewhere? Or do you want to discover where the user clicked when changing the current selection?
Ralph Wessel BArch
Central Innovation
Anonymous
Not applicable
Yes i want to get coordinates on prompt.
And use coordinates for drawing object.

I could use line drawing as in example in Interface_Functions (Do_InputALine).
I think i could get coordinates out of API_GetPointType and API_GetLineType.

Thanks Ralph