0x
005369
2023-06-30

User-Defined Parameters for Methods of Python High Level Library

I need to use custom parameters for the Python High Level Library methods for RFEM 6 in my Python program. How can I determine the necessary parameters?


Answer:

There is an option to call up this URL while RFEM 6 is running:

Thus, the definition of the entire API is displayed as XML. See also:

A pragmatic way to determine the parameters is, for example, to first compile the desired material in RFEM 6, and then read out the properties. The following program shows the procedure:

from RFEM.initModel import *

Model(True, 'Material.rf6')
Model.clientModel.service.begin_modification()

m = Model.clientModel.service.get_material (1)
print(m)

Model.clientModel.service.finish_modification()
Model.clientModel.service.close_connection ()

This method can be used for all objects in RFEM 6.


Author

Frank is responsible for quality assurance in the RFEM program and also assists with customer support. He oversees technical design processes and contributes to the stability and reliability of the software.



;