loadLayout#

pyCGM2.Mek.mek.mekPlot.loadLayout(filename, name=None, path=None)#

Load a layout file.

Parameters:
  • filename (str) – Layout file (e.g. "normalizedKinematics.layouts").

  • name (str, optional) – Layout to return (e.g. "lowerLimbKinematics"). If None, the whole file content is returned.

  • path (str, optional) – Folder of the file. Defaults to pyCGM2/Mek/layout.

Returns:

dict – A deep copy of the layout (it can be modified freely).