Fix MAGN-3711 Support floor creation for structural types

<h4>Summary</h4>

The floor type of the floor to be created can be a foundation slab or not. There are two different APIs to create two different types of floors. However, originally one API is used for all floor types. This is not correct.

The fix here is to check the floor type and call corresponding API to create the floor.


@pboyer 
PTAL