ies convert
ies convert
Convert between IES, LDT and native JSON locally; existing output files are never overwritten
Usage
ies convert <file> [--help] [--version] [--format <format>] [--lamp-set <lamp-set>] [--to <to>] [--output <output>]
| Argument | Type | Required | Description |
|---|---|---|---|
file | string | Yes | IES (.ies) or EULUMDAT (.ldt) input file |
| Flag | Type | Required | Description |
|---|---|---|---|
--format | string | No | Override extension and content detection of the input format; Choices: ies, ldt |
--lamp-set | number | No | Select one alternative LDT lamp configuration (1-based) |
--to | string | No | Output format; Choices: json, ies, ldt; Default: json |
--output | string | No | Output file; defaults to stdout; Aliases: o |
| Exit code | Status | Description |
|---|---|---|
| 1 | BAD_USER_INPUT_ERROR | Invalid arguments or unreadable input |
Examples
Native JSON
ies convert luminaire.ies -o luminaire.json
LDT to IES
ies convert luminaire.ldt --to ies --lamp-set 1 -o luminaire.ies