node = hou.pwd() geo = node.geometry() geo.createPacked("PackedDisk")
int ptnum = addpoint(geoself(), {0,0,0}); int primnum = addprim(geoself(), "PackedDisk", ptnum);
//Display as bounding box setprimintrinsic(geoself(), "viewportlod", @primnum, "box", "set"); int f = @Frame-1; string ver = sprintf("%04d", f); setprimintrinsic(geoself(), "unexpandedfilename", @primnum, "/hou/foo/obj_" + ver +".bgeo.sc", "set");
タグ
コメントをかく