代码:
运行过之后,在“自定义”--:>“自定义用户界面”-->“用户界面”中的“类别”选项中找到“How To” ,拖动到四元菜单中
setTransformLockFlags的方法说明,不太难,相信能看懂的
setTransformLockFlags <node> (#all | #none | <bitarray>) -- mapped
Set and set the transform lock flags for the specified node as an <bitarray>. If a bit is on, the corresponding transform lock is turned on. The order of the bits is: #{POS_X,POS_Y,POS_Z,ROT_X,ROT_Y,ROT_Z,SCALE_X,SCALE_Y,SCALE_Z}. If #all is specified instead, all locks will be checked. If #none is specified, all locks will be unchecked.
四种引用方法:
setTransformLockFlags selection #all
setTransformLockFlags selection #none
setTransformLockFlags selection #{1}
setTransformLockFlags selection #{1..4}
本文介绍了一个用于3D建模软件中的宏脚本,通过设置变换锁定标志来控制选择节点的位置、旋转和缩放属性。提供了setTransformLockFlags方法的详细使用说明及示例。
8556

被折叠的 条评论
为什么被折叠?



