Cad layer export to revit

Hello I am trying to use this script to export CAD layers into detail lines in revit. But i get this error, I believe it cannot find the CAD layers.

Hi @Berrinvrl ,

Somewhere earlier on you are not supplying all the inputs to your “str” input.
If a node doesn’t get all the necessary inputs it only shows “Function”.

I believe the problem is from the cad file, what can I do to resolve it.

Hi @Berrinvrl ,

Could you perhaps upload a sample Revit file together with the (linked) CAD file.
It’s really hard to see what is going on now. Also, the windows snipping tool exists :wink: