How to create floor plans by Ruby API?

Is it possible? I do not intend to use layout.

What do you have in mind for Ruby to create floor plans? That is mostly a creatieve process. Could you elaborate? Is it dimensioning the plans or something else?

Sorry, actually I want to get data from a floor plan. Are there any Ruby API to read the data of a floor plan?

So, you want to create floor plan from floor plan.
Yes Ruby API is able to read data from the a Sketchup model.
But you will not be able to use it in SU web version… and without Graphics Card not at all. (There must be at least an integrated Graphics)