Plate elements in Python

Dear support

 

I am having problems assigning the values of EA and EI for plate materials using the python wrapper scripting service.

I have tried multiple ways as shown below but all fail to assign the properties. Other properties are assigned correctly.

 

 

method 1

plate_material = g_i.platemat()

 

plate_material.setproperties("MaterialName","Steel",

                            "Colour",16711680,

                            "MaterialNumber",0,

                            "Elasticity",0,

                            "IsIsotropic",True,

                            "IsEndBearing",False,

                            "EA",180000000,

                            "EI",1350000,

                            "nu",0.3)

 

method 2

 

plate_params = [("materialName", “Steel”),

                    ("Elasticity", 0),

                    ("IsIsotropic",True),

                    ("EA",180000000),

                    ("EI",1350000),

                    ("nu",0.3)]

                   

     

plate_material = g_i.platemat(*plate_params)

 

 

 

 

Method 3

 

plate_material = g_i.platemat("MaterialName","Steel",

                             "Colour",16711680,

                            "MaterialNumber",0,

                            "Elasticity",0,

                            "IsIsotropic",True,

                            "IsEndBearing",False,

                            "EA",180000000,

                            "EI",1350000,

                            "nu",0.3)

Any assistance would be much appreciated

Scot

Parents Reply
  • In my experience using command line, neither of the methods written by Scot will work. Only the method in the link given by Stefanos will work. All parameters should be given to Plaxis, also the ones that we do not normally give as input but calculated by Plaxis. Even if you round them to some unknown significant digit, Plaxis will consider this as mismatch and will calculate something using the given input, but I do not know the priority. Anyway, calculate and give everything as done in the link.

Children
No Data