Nicool
07-18-2003, 01:39 AM
Hye riggers :cool:,
Here is a simple code to transform the selected geometry into a manipulator/gizmo as arrow, or easy-understanding shapes (just display the wire and still selectable. Not display at render). Often useful, put it into your selves. To have it to work on several geomtries, add the geometries into a group or merge the geometries (polygons>combine) and apply this action to it. Or you can code a loop applies this lines to several objects (ask me if realy needed).
:beer:
// Geometry to manipulator
string $geometry[] = `ls -sl -tail 1`;
setAttr ($geometry[0] + ".overrideEnabled") 1;
setAttr ($geometry[0] + ".overrideShading") 0;
setAttr ($geometry[0] + ".primaryVisibility") 0;
Here is a simple code to transform the selected geometry into a manipulator/gizmo as arrow, or easy-understanding shapes (just display the wire and still selectable. Not display at render). Often useful, put it into your selves. To have it to work on several geomtries, add the geometries into a group or merge the geometries (polygons>combine) and apply this action to it. Or you can code a loop applies this lines to several objects (ask me if realy needed).
:beer:
// Geometry to manipulator
string $geometry[] = `ls -sl -tail 1`;
setAttr ($geometry[0] + ".overrideEnabled") 1;
setAttr ($geometry[0] + ".overrideShading") 0;
setAttr ($geometry[0] + ".primaryVisibility") 0;
