Use a number from 1 through 255. This will give the layer it's color. As Joe
said, the color "Bylayer"(256) is for entities.
"Gustavo_Guidi" wrote in message
news:5158966@discussion.autodesk.com...
Ok JOE but how can I set the color to the Layer?
"Joe Burke" escribió en el mensaje
news:5155079@discussion.autodesk.com...
Works with graphic objects: (vlax-put obj 'Color acByLayer).
You cannot assign acByLayer or 256 to a layer object, if that's what your
"lyrobj"
symbol represents. Makes no sense.
Joe Burke
"Gustavo_Guidi" wrote in message
news:5153986@discussion.autodesk.com...
What's the number for COLOR= bylayer for (vlax-put-property lyrobj "Color"
col)
Thanks