Command-line
If you need to perform automated batch processing on your models, you can import your data from the command-line using the following parameters:
-import-use-importer
-import
This parameter enables you to import a specific file:
visren-app.exe -import "myfile.ext"
You may need to specify a full path to visren-app.exe and myfile.ext. Replace ext with an extension listed in Supported File Formats.
Multiple Files
You can import multiple files at once using a comma-delimited list of files:
visren-app.exe -import "myfile.ext, myfile2.ext, myfile3.ext"
-use-importer
This parameter enables you to import one or more files with a specific importer:
visren-app.exe -import "myfile.ext" -use-importer "importer"
The -use-importer parameter must appear directly after the -import parameter.
Importer Short Names
The list below shows the full list of importers with their short names. You can only use an importer if it is installed and licensed.
| Command-line Parameter | Full Importer Name |
|---|---|
-use-importer "3ds" | Autodesk 3DS Importer |
-use-importer "asc" | Asc Importer |
-use-importer "acis" | Acis Importer |
-use-importer "blender" | Blender Importer |
-use-importer "catiav5" | CatiaV5 Importer |
-use-importer "catiav6" | CatiaV6 Importer |
-use-importer "collada" | Collada Importer |
-use-importer "creo" | Creo Importer |
-use-importer "creoview" | CreoView Importer |
-use-importer "division" | Division Importer |
-use-importer "dgn" | Design Importer |
-use-importer "dwg" | Drawing Importer |
-use-importer "dxf" | Autocad DXF Importer |
-use-importer "fbx" | Filmbox Importer |
-use-importer "jt" | Jt Importer |
-use-importer "siemensjt" | SiemensJT Importer |
-use-importer "ideas" | I-deas Importer |
-use-importer "ifc" | IFC Importer |
-use-importer "iges" | Iges Importer |
-use-importer "inventor" | Autodesk Inventor Importer |
-use-importer "obj" | Object Importer |
-use-importer "parasolid" | Parasolid Importer |
-use-importer "pdf" | Pdf3D Importer |
-use-importer "prc" | RC Importer |
-use-importer "rhino" | Rhino Importer |
-use-importer "solidedge" | SolidEdge Importer |
-use-importer "solidworks" | SolidWorks Importer |
-use-importer "step" | Step Importer |
-use-importer "stl" | StereoLithography Importer |
-use-importer "u3d" | Universal 3D Importer |
-use-importer "unigraphics" | Unigraphics Importer |
-use-importer "vrml" | Vrml Importer |
Multiple Files
You can import multiple files at once using one or more specified importers:
visren-app.exe -import "myfile.ext, myfile2.ext" -use-importer "importer"
OR
visren-app.exe -import "myfile.ext" -use-importer "importer" -import "myfile2.ext2, myfile3.ext2" -use-importer "importer2"
Additional Parameters
| Parameter | Description |
|---|---|
-loglevel <digit> | Set the log messaging level for the importer. There are 4 log levels, with 0 being the lowest and 3 the highest in terms of the quantity of output. If you encounter a problem during an import, try increasing this value, but keep in mind that printing more log messages will slow down the import process. |
-logfile | Send log messages to the default log file. |
-logconsole | Send log messages to the console window. |
-logall | Send log messages to the default log file and console window. |
-comment <comment> | Add a comment to the scene root metadata. |
-user <username> | Add a username to the scene root metadata. |