attribute wrangle 引用资源方式
if(rand(@ptnum)>0.5){
s@instancepath="op:/obj/box1/testgeometry_rubbertoy1
";\引用op下面资源
}else{
s@instancepath="$HIP/Desktop/untitled1.bgeo";\引用本地磁盘文件
}
v@up=set(1,0,0);
@Cd=chramp("color",rand(@ptnum));
v@trans=set(0,1,0);
@orient=set(1,1,0);