Answer:
This also works with the correct name, as in the case of cross-sections from the library. Here, you can see a program example that is supposed to create this cross-section:
Please note! It is necessary to specify the dimensions in the cross-section names in SI basic units; that is, in meters.
from RFEM.initModel import Model
from RFEM.BasicObjects.material import Material
from RFEM.BasicObjects.section import Section
Model(True, "Section")
Model.clientModel.service.begin_modification()
Model.clientModel.service.delete_all()
Material(1, 'S235')
Section(no=1, name='CHS 0.12/0.006/H', material_no=1)
Model.clientModel.service.finish_modification()
Model.clientModel.service.close_connection()