Apple Shake 4 User Manual

Page 105

Advertising
background image

Chapter 2

Setting a Script’s Global Parameters

105

SetUseProxy(const char *useProxy)

char

The default proxy setting.

SetProxyFilter(const char *proxyFilter) char

The default filter used to scale proxies.

SetPixelScale(const char *pixelScale,
const char *pixelRatio)

char

A temporary setting for the proxy resolution that is
overwritten when useProxy is set.

SetUseProxyOnMissing(const char
*useProxyOnMissing)

char

When active, substitutes a proxy generated from
an associated proxy file when a missing image is
encountered.

SetFormat(const char *s)

char

The format that’s selected by default.

SetDefaultWidth(int width)

int

The width of Shake-generated images.

SetDefaultHeight(int height)

int

The height of Shake-generated images.

SetDefaultBytes(int bytes)

int

The bit depth of Shake-generated images.

SetDefaultAspect(float aspect)

float

The default aspect ratio of Shake-generated
images.

SetDefaultViewerAspect(float aspect)

float

The value used to correct the image displayed in
the Viewer to display nonsquare images.

SetTimecodeMode(const char*
timecodeMode)

char

How Timecode is calculated in your script.

SetMacroCheck(int mc)

int

Sets macroCheck. 1 = abort load, 2 = substitute
with text, and 3 = subsititute no text.

SetDisplayThumbnails(const char
*displayThumbnails)

char

Whether or not to display thumbnails in the Node
View.

SetThumbSize(const char
*thumbSize)

char

Sets the size of thumbnails in the Node View.

SetThumbSizeRelative(const char*
thumbSizeRelative)

char

Turns thumbSizeRelative off and on.

SetThumbAlphaBlend(const char
*thumbAlphaBlend)

char

Turns thumbAlphaBlend off and on.

Global Parameter

Type

Purpose

Advertising