Turn an IP-XACT 1685-2009 component into the ipxact-shell Tcl commands that rebuild it, so the component can be edited and regenerated as a script.
Reads one IP-XACT 1685-2009 component XML and writes the equivalent ipxact-shell Tcl commands, so the component can be rebuilt (or edited) as a script instead of XML. Output is one Tcl file (default component.command.tcl) that is meant to be run with ipxact-shell -f <file>. IP-XACT 1685-2014 input is rejected.
Usage
ipxact2tcl -in <component.xml> [-out <file.tcl>] [-nobanner] [-quiet] [-suppress <id1:id2>]
Every option is listed by ipxact2tcl -help, and the complete reference is in the capability file that ships with the tool's AGENTS.md.
Exit status
- 0 on every normal return, including failures (unreadable input, 2014 input, write failure). 10 = license checkout failed.
- Message format:
ipxact2tcl: <Severity>: <id>: <text>, severity one ofError,Fatal Error,Warning,Note;<id>is a 5-digit message number. Usage lines and the "Run it as: ipxact-shell -f <file>" line have no severity or id. - Success prints
Note: ...: Created Tcl command file <out> ...thenFound N error(s) and M warning(s) ...(not with-nobanner).
Requirements
Java 11 or newer on PATH (Java 21 recommended), Linux or Windows. Unpack the bundle, run source setup_env.sh and call ipxact2tcl. Install in one command with curl -fsSL https://edautils.com/install.sh | sh -s -- ipxact2tcl.