## ReplaceShaderWithProgID

### Introduced

v9.0 (2011)

### Description

Disconnects a shader and connects another shader created from a ProgID (eg., "Softimage.material-phong.1.0").

### Scripting Syntax

    ReplaceShaderWithProgID( [ShaderToReplace], ProgID );

### Parameters

Parameter | Type | Description
--- | --- | ---
ShaderToReplace | String | Shader to disconnect Default Value: Current selection
ProgID | String (see Shader.ProgID) | Any of the appropriate shader definition ProgIDs

### Examples

#### Python Example

    # TODO

### See Also

ReplaceShaderWithPreset ApplyShader ReplaceShader Shader.ProgID ShaderDef.ProgID