Material lists in PLAXIS – Python

29 March 2019

In PLAXIS, all material datasets are stored in a single listable called Materials. This includes all soil material datasets, but also all material datasets for the structural datasets like plates, geogrids, beams and anchors.

With Python, when looping over all material datasets, you might just want to get e.g. all plate material datasets. For this, we can use the property .TypeName to know what type of material it is.

Material set.TypeName value
SoilSoilMat
Beam(3D)BeamMat
Plate (2D)PlateMat2D
Plate (3D)PlateMat3D
Geogrids (2D/3D)GeogridMat
Anchors (2D)AnchorMat2D
Anchors (3D)AnchorMat3D
Embedded Beam Rows (2D)EmbeddedBeam2DMat
Embedded Beams (3D)EmbeddedBeamMat

For example, you can use this to create a list of just plate materials in PLAXIS 2D

platematerials = [mat for mat in g_i.Materials[:] if mat.TypeName.value == 'PlateMat2D']

Privacy Preference Center

Necessary

The Cookies are necessary for the site to function

CONSENT, NID, _cfduid, wp-settings-time-16, wp-setting-16, wordpress_test_cookie, gdpr[allowed_cookies], gdpr[consent_types], wp_woocommerce_session, wordpress_logged_in, wordpress_sec, PHPSESSID

Advertising

These Cookies are used to provide you with useful information based on recent browser data

_gads
UserMatchHistory, lang, BizoID
IDE
fr
NID
lidc, bcookie

Analytics

These are used to track user interaction and detect potential problems. These help us improve our services by providing analytical data on how users use this site

_ga, _gid

Other