Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

vlax-put-property

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
324 Views, 4 Replies

vlax-put-property

What's the number for COLOR= bylayer for (vlax-put-property lyrobj "Color"
col)

Thanks
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

256

"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
Message 3 of 5
Anonymous
in reply to: Anonymous

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
Message 4 of 5
Anonymous
in reply to: Anonymous

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
Message 5 of 5
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost