Callback function to get reduction polygons of a room.
typedef void RoomReductionPolyProc ( const API_RoomReductionPolyType* roomRed );
- [out] Data of a room reduction polygon.
You should implement this function and pass its address to the APIDb_RoomReductionsID function as a callback function if you want ARCHICAD to send the polygons which reduce a room area.
ARCHICAD will send you all the area (polygon) which reduce the room area. Many information is provided, the polygon itself, the area, the reduction percent, and the type of the parent element. See API_RoomReductionPolyType for more details. Since ARCHICAD 18, the first dummy element has been removed.
See the example of APIDb_RoomReductionsID function.
- Version: API 2.1 or later
- Header: APIdefs_Callback.h