Customization > Automation Interface > Functions > For Configuration Management Tool Integration > Import function (automation interface)
  
Import function (automation interface)
Syntax:
Import("<folder>")
Where:
<folder> is a string that specifies the folder in which the associated MDF or PKF file resides.
This function acts on a Model (Project) or Package. It updates the Model or Package from the associated MDF (model) file, or PKF (Package) file in the specified folder.
When using this function, you may want to interrogate the Permissions and Protected attributes, and then set the Protected property accordingly. An import may create stub items in the Model, which you can test for using the Is Stub attribute.
Examples
In this example, Package1 is updated from the export file in C:\Exported Packages.
Set objPackage = Dictionary.Item("Package", "Package1")
Call objPackage.Import("C:\Exported Packages")