How to add AMA code to Property Set from external CSV-file in Civil 3D

This post explains how to import a code e.g. “AMA kod”, by reading and matching settings from an external CSV-file. The CSV-file needs to have at least two columns where one is the “AMA kod” and one is e.g. the Civil 3D Code such as Pave1, Base, Slitlager, Bärlager etc.
How to add AMA code to Property Set from external CSV-file in Civil 3D