antistar 发表于 2022-7-6 11:04:53

 
RenderMan,
 
Now it worked perfectly.
 
Thank you for your help.

BlackBox 发表于 2022-7-6 11:11:18

Aww, shucks... I just added to what Alanjt already provided you. :wink:

StevJ 发表于 2022-7-6 11:14:02

Perhaps his layers are still locked.
 

(command "_.layer" "t" "LAYER_01" "u" "LAYER_01" "c" "50" "LAYER_01" "")SteveJ
 
EDIT: Oops. Nevermind

alanjt 发表于 2022-7-6 11:18:07

Locking a layer only limits the user from editing objects on the layer; the layer itself can still be altered.

StevJ 发表于 2022-7-6 11:21:55

Yeah. I was thinking from the Layer Properties Manager it would be easy, but using LISP might require that extra little step. Turns out that wasn't the problem, anyway.
 
SteveJ

antistar 发表于 2022-7-6 11:24:19

Still abusing the patience of colleagues, does anybody know how to write a subroutine to change the color of multiple layers?
I would like to activate this subroutine as follows:
 
(Subroutine "NewColor" "layername1, layername2, layername3,...")
 
Thanks in advance.

StevJ 发表于 2022-7-6 11:29:53

Separate layer names with commas (no spaces before or after the comma)
 

"layername1,layername2,layername3"Also, wildcard character (*) is permitted
 

"layername*"would modify all the above
 
SteveJ
页: 1 [2]
查看完整版本: Help to change Layer's Co