AddShaderAttachedComment

Introduced

7.0

Description

Adds an attached comment to a Shader.

Scripting Syntax

AddShaderAttachedComment( [Container] )

Parameters

Parameter

Type

Description

Container

SelectionList or Selection

 

Default Value: If no argument is specified, the current selection is used.

Return Value

The new comment as a Shader object.

Examples

JScript Example

/*
   This example demonstrates how to use the AddShaderAttachedComment command.
*/
NewScene(null, false);
AddShaderAttachedComment( "Sources.Materials.DefaultLib.Scene_Material.Phong" );

See Also

CreateShaderFromCLSID

CreateShaderFromProgID

CreateShaderCompound

NestShaders

UnnestShaders

AddShaderCompoundPort

RemoveShaderCompoundPort

MoveShaderCompoundPort

RenameShaderCompoundPort

ExportShaderCompound

ImportShaderCompound

ExplodeShaderCompound

SetShaderCompoundProperties

GetShaderCompoundProperties

 

 



Autodesk Softimage v7.5