Issues Creating Rod Joints via API

Hello everyone,

I am currently writing a Python script to create an RSTAB model via the Dlubal API.

I have the problem that when trying to create a hinge, I can only successfully specify the hinge number.

Unfortunately, the other attributes, such as the stiffnesses and member assignments, do not work.

grafik

grafik
According to the API documentation, this should actually work.

I am using RSTAB 9.11.0007 with the corresponding API.

I hope you can help me.

Hello @Philipp :waving_hand:,

Welcome to the Dlubal Community! :blush:

If you separate the bar numbers with a comma, the assignment should work as expected. If there are still problems, it could be due to the old version. The current version is 9.12.0013. With this, everything works as expected.

If you have any further questions, I am happy to help! :blush:

Best regards,
Fabian

Hello Fabian,

for the joint assignment, I initially managed by assigning directly to the members. Unfortunately, inserting commas into the string did not help.

However, the problem remains that regardless of the stored values for the degrees of freedom, a checkmark is always set for all six DoF.

When I use the new RSTAB 9.12.0013, I also immediately receive numerous error messages regarding cross-sections and nonlinearities that did not occur before. I would probably have to revise all scripts due to the renaming from Section to CrossSection, which I am currently reluctant to do.

Additionally, I am having trouble installing the current API. The command
pip install dlubal.api==<9.12.13>
unfortunately does not work for me.

Best regards
Philipp

Hi @Philipp

Please try again with version 9.11.0012. It works perfectly fine for me with this version as well.

If the problem persists, feel free to send me your script. You can either attach it to this thread or send it to me via private message.

The command to install the package is:

pip install dlubal.api==2.12.13

The packages start with 2 because this is the 2nd generation of the API. Older versions of the packages can be found here:
History of dlubal.api versions on PyPI

If you have any questions, I am happy to help! :blush:

Best regards,
Fabian

Hello Fabian,

after the update to the latest API in combination with RSTAB 9.12.0013, everything is working again now.
Thanks again for the help.

Regards
Philipp

1 Like