Knowing the height from the project zero, get the floor index and the offset from this floor.

Call:

ac_request("get_floorindexandlevel_by_levelfromprojectnull", double levelfromprojectnull, int &floorInd, double &bottomOffset);



Here:

levelfromprojectnull - vertical offset relative to project zero.

floorind - result - floor index,

bottomOffset - result - offset relative to the level of this floor,