def set_transparency(self, transparency):
    for link in self.env_body.GetLinks():
        for geom in link.GetGeometries():
            geom.SetTransparency(transparency)
def set_transparency(self, transparency):
    for link in self.env_body.GetLinks():
        for geom in link.GetGeometries():
            geom.SetTransparency(transparency)