5.14.1.3. Splitting up the files based on Revit families (optionally)

[Hinweis]Hinweis

This step is optional.

Precondition: The sortfiles.vbs is required.

If desired the before exported CSV files can be grouped according to their Revit family name.

This is achieved by using a CSV file with the OrderNumber and its Revit family name.

Example:

Copy the file sortfiles.vbs to a local directory.

Now start a command prompt and insert following path. Please adjust like described to your local environment situation (path/directories).

This is how the command for the command line is structured:

Cscripthost sortfiles.vbs [Input-Folder] [CSV] [Output-Folder]

  • Input-Folder – Folder with all the PS3 files that should be grouped

  • CSV – The mode, that the Script should convert the PS3 Files in

  • Output-Folder – Folder to generate the subfolders in to group the files

Syntax:

Cscripthost sortfiles.vbs f:\temp f:\temp\Testfamilies.csv f:\temp

Export command exemplarily:

C:\PARTsol\software\V12\software\bin\x86\64\cscripthost.exe D:\sortfiles.vbs

D:\ExportImage\PS3\Testexport\Testprodukt\Produktname D:\ExportImage\Testfamilien.csv

D:\ExportImage\PS3\Testexport\Testprodukt\Produktname