Thread: View Ports
View Single Post
# 2 21-06-2004 , 07:07 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
View Ports

You can use expressions to drive view ports just like anything else. Try this. Create a new prepective view, and open your channel box. Click on the translate X channel and then right click and select "create Expression".

This will open the expression editor and paste this in there and hit edit:

translateX = persp.translateX;
translateY = persp.translateY;
translateZ = persp.translateZ;
rotateX = persp.rotateX;
rotateY = persp.rotateY;
rotateZ = persp.rotateZ;

You will not be able to drive the new persp view, but when you change the original, the second will follow. Then you can do something like set the expression to read:

translateX = persp.translateX + 100;

This will make the views similar, but offest 100 in X.

Smoth Proxy

You can make mel buttons with the name of the display layers but typing the following in the command line and dragging the text to your shelf.

layerEditorLayerButtonVisibilityChange layer1;

layer1 would be replaced by the name of your layer. It will toggle the layers on and off.

Hope this helps.