乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
楼主: antistar

[编程交流] Help to change Layer's Co

[复制链接]

15

主题

68

帖子

53

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
76
发表于 2022-7-6 11:04:53 | 显示全部楼层
 
RenderMan,
 
Now it worked perfectly.
 
Thank you for your help.
回复

使用道具 举报

44

主题

3166

帖子

2803

银币

中流砥柱

Rank: 25

铜币
557
发表于 2022-7-6 11:11:18 | 显示全部楼层
Aww, shucks... I just added [a tiny bit] to what Alanjt already provided you. :wink:
回复

使用道具 举报

13

主题

146

帖子

136

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
62
发表于 2022-7-6 11:14:02 | 显示全部楼层
Perhaps his layers are still locked.
 
  1. (command "_.layer" "t" "LAYER_01" "u" "LAYER_01" "c" "50" "LAYER_01" "")
SteveJ
 
EDIT: Oops. Nevermind
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
438
发表于 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.
回复

使用道具 举报

13

主题

146

帖子

136

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
62
发表于 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
回复

使用道具 举报

15

主题

68

帖子

53

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
76
发表于 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.
回复

使用道具 举报

13

主题

146

帖子

136

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
62
发表于 2022-7-6 11:29:53 | 显示全部楼层
Separate layer names with commas (no spaces before or after the comma)
 
  1. "layername1,layername2,layername3"
Also, wildcard character (*) is permitted
 
  1. "layername*"
would modify all the above
 
SteveJ
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-6 20:55 , Processed in 0.456899 second(s), 64 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表