MaxScript groupBox

rollout unnamedRollout "Untitled" width:239 height:382
(
 groupBox grp2 "隐藏类" pos:[11,10] width:213 height:62
 checkbox chk1 "隐藏" pos:[27,32] width:142 height:19
 groupBox grp3 "冻结类" pos:[12,100] width:214 height:68
 checkbox chk2 "冻结" pos:[21,126] width:129 height:22
 on chk1 changed state do
 (
  if state == on then for a in selection do hide a
  if state == off then for a in selection do unhide a
 )
 on chk2 changed state do
 (
  if state == on then for a in selection do freeze a
  if state == off then unfreeze objects
 )
)
createdialog unnamedRollout

                

posted @ 2011-11-16 09:43  GamePal  阅读(434)  评论(0编辑  收藏  举报