

def _updateColorBy(self):
    arrayMap = {
        0: 'Solid Color',
    }
    colorBy = self.getProperty('Color By')
    arrayName = arrayMap.get(colorBy)
    self.model.polyDataObj.setProperty('Color By', arrayName)

dataset/ETHPy150Open RobotLocomotion/director/src/python/director/pointcloudlcm.py PointCloudItem._updateColorBy/original