scanViconTemplatePipeline#
- pyCGM2.generatePipeline.scanViconTemplatePipeline(sourcePath, desPath, pyCGM2nexusAppsPath)#
Copy Vicon Nexus pipeline templates, replacing the hard-coded Apps path.
Each file of
sourcePathis read, the template Apps path is replaced bypyCGM2nexusAppsPathand the result is written intodesPathunless a file with the same name already exists.- Parameters:
sourcePath (str) – Folder containing the template pipeline files.
desPath (str) – Destination folder.
pyCGM2nexusAppsPath (str) – Path of the pyCGM2 Nexus Apps folder to insert in the pipelines.