Changeable DisplayInfo Rocks! 2004-07-14 - By Dan Yargici
Back I've been slowly working my way through the new features guide and have discovered many hidden treasures :)
But the ability to change parameters in the viewport seems like a tiny, but fantastic addition. Check it out:
NewScene CreatePrim "Torus", "MeshSurface" AddProp "Custom_parameter_list", , , "DisplayInfo Torus Radius" SelectObj "torus.DisplayInfo_Torus_Radius" AddProxyParam , "torus.polymsh.geom.torus.sectionradius,torus.polymsh.geom .torus.radius" SelectObj "torus" DeselectAll SetValue "Camera.camvis.custominfo", True SetValue "preferences.Display.displayinfoedit", True SetValue "preferences.Display.font", "ariel" SelectObj "torus", , True
Now click on the numbers in the viewport and slide away! I don't know about you, but I'm gonna be using this a lot. Much cleaner way of working with Custom Psets.
DAN
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff background=""> <DIV><FONT face=Arial size=2>I've been slowly working my way through the new features guide and have discovered many hidden treasures :)<BR><BR>But the ability to change parameters in the viewport seems like a tiny, but fantastic addition. Check it out:<BR><BR><FONT color=#0000ff>NewScene<BR>CreatePrim "Torus", "MeshSurface"<BR>AddProp "Custom_parameter_list", , , "DisplayInfo Torus Radius"<BR>SelectObj "torus.DisplayInfo_Torus_Radius"<BR>AddProxyParam , "torus.polymsh.geom.torus.sectionradius,torus.polymsh.geom.torus.radius"<BR >SelectObj "torus"<BR>DeselectAll<BR>SetValue "Camera.camvis.custominfo", True<BR>SetValue "preferences.Display.displayinfoedit", True<BR>SetValue "preferences.Display.font", "ariel"<BR>SelectObj "torus", , True</FONT></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Now click on the numbers in the viewport and slide away! I don't know about you, but I'm gonna be using this a lot. Much cleaner way of working with Custom Psets.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>DAN</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
|
|