AutoCAD Layer Problem

When I transfer my Autocad drawing (with all layers and blocks) to UE5, it sees each part in my drawing separately. This situation creates serious problems in assigning materials. Can we import into UE5 with the same layer names as I created in Autocad? For example, in the Lumion program, it automatically defines the layer and when I assign the material, it can automatically assign the same material to the layers with the same name. I request your feedback on this issue.