SView Help Center
English (US)

SViewConverterCmd General Calling Interface

Author: 张雷 Last Updated: 2026-11-09 15:43

SViewConverterCmdInterface Call Method:

SViewConverterCmd.exe"filePath""inputFormat""outputPath""outputFormat""configfilePath"

Description

General data conversion interface. Based on the input format, output format, and the format configuration file SViewConverterCmd.cfg, it automatically calls the corresponding conversion program. The input format and output format parameters should refer to the InputFormat and OutputFormat fields in SViewConverterCmd.cfg.

Parameters

Parameter

Required

Description

filePath

Yes

Full path of the input file

inputFormat

Yes

Input format

outputPath

Yes

Output directory

outputFormat

Yes

Output format

configfilePath

Yes

Full path of the configuration file

Return Value

0: Conversion succeeded

-4: No conversion license

Others: Conversion failed

Call Example

"E:\Converters\SViewConverterCmd.exe" "E:\modeltest\test.obj" "OBJ(*.obj)" "E:\svlx" "SVL2.0(*.svlx)" "C:\Users\Administrator\Documents\HoteamSoft\AssimpConverter\ASSIMPConverter.config"