There is no single "IFC to 2D floor plan" call, but using Visualize SDK you can: import the .ifc file into a Visualize database and then write it out as .dwg.
- IFC → Visualize: Visualize/Examples/Ifc2Visualize
- Visualize → .dwg: Visualize/Extensions/Visualize2Dwg
Be aware of what this gives you: the result is the geometry of the model, not a drafted floor plan. Producing an actual plan view means adding a section/clip plane at the storey level and flattening the result; the IFC property data does not survive into .dwg entities.