Import Diagrams from a Folder
- Last UpdatedMar 27, 2024
- 1 minute read
To import the diagrams in a folder enter the following:
!pid.ImportFilesInDir('Folder')
If release comments are required, enter (see Enter Release Comments):
!pid.ImportFilesInDir('Folder','Release Comment')
For example:
!pid.ImportFilesInDir('V:\SchematicModelManager\TestData\','Update to Diagrams')
The files in the specified folder are then imported. The Command Window displays progress, error and warning messages as the import is carried out.
If the specified folder is not found, an error message "Directory doesn’t exist" will be displayed.
If any of the files in the folder are invalid, an error message "File type not recognized" will be displayed for each of them. The import procedure will then ignore the invalid files.