标签:int rect name sel sso class sele max 指南
--按名字选择物体,这个逃不掉
$物体名字
--除此之外
$.length = 50
for i in $ do print i.name
for i in $* do print i.name
--应该写成
sel = selection[1]
if classof sel == Rectangle then sel.length = 50
--和
sels = selection as Array
for i in sels do print i.name
--和
objs = objects as Array
for i in objs do print i.name
标签:int rect name sel sso class sele max 指南
原文地址:https://www.cnblogs.com/trykle/p/11706299.html