Creating spatial elements from Rhino to Revit

Hello, I am new to Rhino.Inside and I was wondering how to create Spatial elements (and then set some IFC parameters) from a Rhino model inside Revit. The standard add direct shape geometry does not work for the job. Would anyone know what would work for this?

Thanks a lot!

the spaces category for a direct shape is not allowed by the REVIT API
see dynamo error

you may need to consider using a different category because spaces is a system family category so its a bit limited