Interface: BitmapProxyMgr

new.gif NEW in 3ds Max 9: This Interface exposes the Bitmap Proxy System to MAXScript.

Properties:

.globalProxyEnable : boolean : Read|Write

Enables Bitmap Proxies globally.

.globalProxyRenderMode : enum : Read|Write

globalProxyRenderMode enums: {#renderMode_UseProxies|#renderMode_UseFullRes_KeepInMemory|#renderMode_UseFullRes_FlushFromMemory}

Gets/Sets the global Proxy Render Mode.

.globalProxySizeFactor : enum : Read|Write

globalProxySizeFactor enums: {#full|#half|#third|#quarter|#eighth}

Gets/Sets the global Proxy Size Factor.

.globalProxySizeMin : integer : Read|Write

Gets/Sets the global Proxy minimum size in pixels.

Methods:

<enum>GetProxySizeFactor <string>bitmap

GetProxySizeFactor enums: {#full|#half|#third|#quarter|#eighth}

Returns the local Proxy size factor for the specified bitmap.

<void>SetProxySizeFactor <string>bitmap <enum>factor

factor enums: {#full|#half|#third|#quarter|#eighth}

Sets the local Proxy size factor for the specified bitmap to the given enum. This setting will be used only if the SetProxyUseGlobal has been set to false for the bitmap.

<boolean>GetProxyUseGlobal <string>bitmap

Returns true if the specified bitmap is using the global proxy settings, false if it is using the local settings.

<void>SetProxyUseGlobal <string>bitmap <boolean>useGlobal

When the second argument is passed as true, the global settings will be used for the bitmap specified by the first argument. When the second argument is false, the local settings will be used instead.

<boolean>GetProxyReady <string>bitmap

Returns true if the proxy of the specified bitmap filename is ready, false if it has not been cached yet.

<void>RefreshAll requestRefresh:<enum>

requestRefresh enums: {#updateStale|#refreshAll|#generateAll}

requestRefresh default value: #updateStale

Regenerates proxies of some or all the bitmaps.

When requestRefresh is not supplied or is set to #updateStale, only stale proxies will be updated.

When requestRefresh is set to #refreshAll, only bitmaps that are newer than their proxies will be updated..

When requestRefresh is set to #generateAll, all proxies will be regenerated.

<void>GenerateAll requestRefresh:<enum>

requestRefresh enums: {#updateStale|#refreshAll|#generateAll}

requestRefresh default value: #updateStale

Same as RefreshAll.

<void>ShowConfigDialog bitmapFielnames:<string array>

bitmapFielnames default value: #()

Opens the Bitmap Proxies configuration dialog.

If the optional bitmapFilenames argument is #() or not supplied, the dialog will be titled "Global Settings and Defaults for Bitmap Proxies" and will affect all bitmaps globally.

If it contains a list of bitmap filenames, the dialog will be titled "Per-Bitmap Resolution for Bitmap Proxies" and the settings will apply to the specified bitmaps only.

<void>ShowPrecacheDialog bitmapFilenames:<string array>

bitmapFilenames default value: #()

Opens the Precache dialog.