Asset code
In CAD Import, it is possible to generate asset codes, based on BLOCK name or LAYER name.
The asset code:
can have a maximum length of 100 characters
must be unique across all assets in all buildings
can be stored as an attribute of the asset block

The insert point of the block must be inside the space polyline, in order to have the Space field populated on the Asset location.
If the insert point is outside any space polyline, the Space on the Asset location will remain empty.
Although the options listed below can be used for all fields you can map via the Source field in Field mapping, we use the Asset code field in the following examples to demonstrate asset code generation.
Procedure
Go to CAD drawing definitions > Details > Field mapping

In the Source field, select the 1 – Drawing option.
In the CAD layer field, select the layer containing the asset blocks.
In the CAD block field, select the block name containing the asset.

In the CAD attribute field, select the attribute of the block containing the asset.
You can also generate asset codes for a CAD Import based on the following options:
2 - Drawing - retrieve from block

The asset code is generated from the block name:
it uses the maximum field length of the field as specified in Field Definer, with a maximum of the first 90 characters of the block name + _####.
3 - Drawing – retrieve from layer

The asset code is generated from the name of the layer in which the block is located:
It uses the maximum field length of the field as specified in Field Definer, with a maximum of the first 90 characters of the layer name + _####.
If blocks are located on different layers, the name of the layer in which the block is located, will be used.

4 - Drawing – handle ID
The asset code is identical to the handle ID of the BLOCK in the AutoCAD drawing.
5 - Connect for AutoCAD
The asset code is retrieved from a drawing that is updated via Connect for AutoCAD.
7 - Drawing - retrieve from XData
The asset code is read from the XDATA stored in the asset blocks.