# set_plate_bc

Set plate boundary condition.

# Parameters

shapes : ShapeList
list of shapes. ShapeType must be 'vertex' in 2D and 'edge' in 3D
displacement_x : DisplacementType|float
Displacement in x. DisplacementType = 'free' or 'fixed'
displacement_y : DisplacementType|float
Displacement in y. DisplacementType = 'free' or 'fixed'
displacement_z : DisplacementType|float
Displacement in z. DisplacementType = 'free' or 'fixed' displacement_rotation DisplacementType|float Rotational displacement. DisplacementType = 'free' or 'fixed'
csys : Csys
Coordinate system
use_local_coord : boolean
Apply local coordinate system.

# See also

# Examples

model2d.add_line([0,0],[0,5])
RigidWall = prj.RigidPlate(name="RigidWall",gamma_dry=24,color=Color(r=108,g=136,b=160))
sel = model2d.select([0,1],types='edge')
model2d.set_plate(shapes=sel,
material=RigidWall,
strength_reduction_factor=1,
tension_cutoff=5,
compression_cutoff=False,
)
v = model2d.get_vertices([[0,0]])
model2d.set_plate_bc(shapes=v,
displacement_x='fixed',
displacement_y='fixed',
displacement_z='free',
displacement_rotation='free',
csys=project.get_csys('Global 2D'),
use_local_coord= False
)