Python interoperability between V21 vs V22 - API command changes

Hi,

Just wondering whether you can share the following:

- the rationale behind changing some of the API/Plaxis keywords between versions*. 

- a list of the changes from V21 to V22, so that it is more apparent what functionality has changed?

*Changing the keywords, e.g. in this instance soilmat naming was done via  "MaterialName" in V21 - but is now "Identification" in V22.

The reason I ask, is for interoperability between Plaxis versions. As the logic for creating/changing properties for a soilmat (and presumably other features) needs to vary based on a Plaxis version. 

Parents Reply Children
  • Hello Berk,

    Happy New Year!

    Yes, the changes were unavoidable as we had a major overhaul of the data structure of the material database. This not only made it easier to define the materials but actually was necessary if we wanted to improve our code and allow for easy changes when adding (or fixing) material code in the backend.

    I fully understand that nobody likes any changes like these (we had to change many of our scripts, too), but it was the only way to move forward with our main PLAXIS code and it comes with nice improvements on the user side, too.

    I hope that you have all your material definitions based on a list (more Pythonic way), which then leaves only a search & replace task for the changes in names as mentioned on the page:  Material Property changes for Python scripting