This functionality is only available for certain module packages.

You are here: Reference > Commands > Engineering.ImportIMXCommand

Engineering.ImportIMXCommand

Imports a project according to the assigned IMX file. As a further argument for the target either the project name, the project or the project component itself can be specified. An already existing project is overwritten.

The following variants are possible for using the command:

Argument Type Description
pathToImx String Path to the IMX file.
Engineering.ImportIMXCommand("c:\importfiles\project.imx")
Argument Type Description
projectName String Name of the target project.
pathToImx String Path to the IMX file.
Engineering.ImportIMXCommand("Feeder", "c:\importfiles\project.imx")
Argument Type Description
projectOrMo Object Project or project component.
pathToImx String Path to the IMX file.
Engineering.ImportIMXCommand(Ā«FeederĀ», "c:\importfiles\project.imx")