def _create_meshes(self, cfg, general_cfg, stage_dict):
    '  create function\n        Args:\n            cfg:            list of mesh cfgs [list]\n            general_cfg:    general cfg [dict]\n            stage_dict:     dict of stages [dict]\n        Returns:\n            success code [boolean]\n        '
    _current_instance_label_count = 0
    for (ii, mesh) in enumerate(cfg):
        try:
            _module_name = ('src.assets.meshes.' + mesh['type'])
            _module = importlib.import_module(_module_name)
            _class = getattr(_module, mesh['type'])
            _mesh = _class()
            _mesh.set_general_cfg(cfg=general_cfg)
            _mesh.set_stage_dict(stage_dict=stage_dict)
            mesh['meshParams']['name'] = mesh['name']
            _mesh.update_cfg(cfg=mesh['meshParams'])
            (_instance_count, _instance_label_count) = _mesh.create(instance_id_offset=_current_instance_label_count)
            _current_instance_label_count += _instance_label_count
            self._mesh_obj_list.append(_mesh)
            self._mesh_list.append(_mesh.get_meshes())
        except ImportError:
            raise Exception('Cannot add mesh')
            return (- 1)
    return 0
create function
Args:
    cfg:            list of mesh cfgs [list]
    general_cfg:    general cfg [dict]
    stage_dict:     dict of stages [dict]
Returns:
    success code [boolean]
def _create_meshes(self, cfg, general_cfg, stage_dict):
    '  create function\n        Args:\n            cfg:            list of mesh cfgs [list]\n            general_cfg:    general cfg [dict]\n            stage_dict:     dict of stages [dict]\n        Returns:\n            success code [boolean]\n        '
    _current_instance_label_count = 0
    for (ii, mesh) in enumerate(cfg):
        try:
            _module_name = ('src.assets.meshes.' + mesh['type'])
            _module = importlib.import_module(_module_name)
            _class = getattr(_module, mesh['type'])
            _mesh = _class()
            _mesh.set_general_cfg(cfg=general_cfg)
            _mesh.set_stage_dict(stage_dict=stage_dict)
            mesh['meshParams']['name'] = mesh['name']
            _mesh.update_cfg(cfg=mesh['meshParams'])
            (_instance_count, _instance_label_count) = _mesh.create(instance_id_offset=_current_instance_label_count)
            _current_instance_label_count += _instance_label_count
            self._mesh_obj_list.append(_mesh)
            self._mesh_list.append(_mesh.get_meshes())
        except ImportError:
            raise Exception('Cannot add mesh')
            return (- 1)
    return 0