I am working in autocad and use the file link manager to link my cad files. Since I use architectural objects, I need a script to assign materials to my layers.
I am trying this script without any luck.
(
clearSelection()
$'*3D-concrete'.material = meditMaterials[1]
$'*3D-glass'.material = meditMaterials[2]
$'*3D-brick'.material = meditMaterials[3]
)
What do I do wrong?
miauu · 2014-10-09