Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1012 Bytes

ifc-driver.md

File metadata and controls

18 lines (10 loc) · 1012 Bytes

The ifc Tool

The IFC SDK contains a command-line executable named ifc. It is a simple driver that acts as an extendable interface for tooling around IFC files. The pattern of invocation is

ifc cmd file1 file2 ...

where:

  • cmd is either a built-in sucommand, or an external extension executable
  • file1, file2, ... are the IFC files to be acted on

At the moment, the tool supports only one built-in command: version. That is, the invocation

ifc version file1 file2 ...

will display each file along with the version of the of IFC Specification it was generated for.

An IFC external extension cmd is any executable named ifc-cmd that can be found via the PATH environment variable. Such an executable will be invoked by the ifc driver along with the rest of the command-line arguments it was originally invoked with. It is a convenient way to structure tooling around IFC files, making your own extension appear as if it was a built-in facility.