Skip to end of metadata
Go to start of metadata

New topics covered by this example:

  • Identification of objects using Key indicator

The inputs for this example are:

  • The Excel file which you can see below
  • The Rule Maker template (you can ask for it at

Objects identification using Key indicator during import

In addition to standard process of objects identification in arKItect using their names other keys to identify object can be added during import.

Preparing the target model

Refer to the instructions of the first tutorial, but with using the type diagram below:

Note that the ActionPanel and Action types are only here to facilitate the execution of import and export scripts. After setting up the the type diagram, create an 'all' treeview (i.e. a treeview where all elements are checked). In this treeview create an ActionPanel object with one Action objects named Import which stores the Model Gateway import script.

Preparing the Rule Model and Rule File

Refer to the instructions of the first tutorial. In this part we will only import the Championship objects stored in the column "Championship" and the Group objects stored in the column "Group". As can be seen in the excel file above "Group A" is present in the "World Rugby Cup" and in the "World Veteran Rugby Cup" as well but those groups are different. To specify this difference as an object is unique in arKItect use a Key indicator in your Rule Model. Hence create an new Rule Model with a Championship composition sheet as pictured below:


The Key indicator goes from the object to his identifier


The Key indicator can point to a Column object used to specify attribute


Your target model should be empty before importing only an ActionPanel is present to execute the import script as shown below:

Now Execute the Import script:

at the first Open File dialog, select the Rule File you have generated
at the second Open File dialog select the Excel File to be imported.

You should get the following result (the Championship objects have been expanded):

As you can be seen above arKItect modified the name of "Group A" contained in the "World Rugby Veteran Cup" to differentiate it from the one in the "World Rugby Cup".

  • No labels