How to insert a new StructureSystem using the API?

As per title, I'm trying to insert a structure system using the API. It seems much more flexible than the old weldments system for what I need but I can't find references in the API docs.

Could you point me in the right direction? Thanks in advance.

SolidworksApi/macros