### Importing an XML File

PC-DMIS can import an XML file into the current part program. The structure of the XML file should match the structure of an exported XML file.

To import an XML file:

1. Select File | Import | XML.

2. Navigate to the XML file you want to import and click Open. The XML commands in the XML file are imported into the part program.

See "Exporting to an XML File" topic for information on how to use the UseIDForExistingCommands attribute to append imported commands to the end of the part program, or to modify existing matching commands.