code: def load(
      inputobj,
      c="gold",
      alpha=None,
      wire=False,
      bc=None,
      texture=None,
      smoothing=None,
      threshold=None,
      connectivity=False,
  ):
      
      if alpha is None:
          alpha = 1
  
      if isinstance(inputobj, vtk.vtkPolyData):
          a = Actor(inputobj, c, alpha, wire, bc, texture)
          if inputobj and inputobj.GetNumberOfPoints() == 0:
              colors.printc("~lightning Warning: actor has zero points.", c=5)
          return a
  
      acts = []
      if isinstance(inputobj, list):
          flist = inputobj
      else:
          import glob
          flist = sorted(glob.glob(inputobj))
  
      for fod in flist:
          if os.path.isfile(fod):
              if fod.endswith(".vtm"):
                  acts += loadMultiBlockData(fod, unpack=True)
              else:
                  a = _loadFile(fod, c, alpha, wire, bc, texture,
                                smoothing, threshold, connectivity)
                  acts.append(a)
          elif os.path.isdir(fod):
              acts = _loadDir(fod, c, alpha, wire, bc, texture,
                              smoothing, threshold, connectivity)
      if not len(acts):
          colors.printc("~times Error in load(): cannot find", inputobj, c=1)
          return None
  
      if len(acts) == 1:
          return acts[0]
      else:
          return acts
docs: Returns a ``vtkActor`` from reading a file, directory or ``vtkPolyData``.
  
      :param c: color in RGB format, hex, symbol or name
      :param alpha:   transparency (0=invisible)
      :param wire:    show surface as wireframe
      :param bc:      backface color of internal surface
      :param texture: any png/jpg file can be used as texture
  
      For volumetric data (tiff, slc, vti files):
  
      :param smoothing:    gaussian filter to smooth vtkImageData
      :param threshold:    value to draw the isosurface
      :param connectivity: if True only keeps the largest portion of the polydata