v3.0
Adds a new unconnected image clip FxOperator to the FxTree object.
oReturn = AddImageClipFxOp( [FxTree], [ImageClip] ); |
Parameter | Type | Description |
---|---|---|
FxTree | String or FxTree |
Object pointer or Object name for FxTree. Default Value:
Current selection. |
ImageClip | String or ImageClip |
Object pointer or Object name for image clip associated with the new operator. Default Value:
Current selection. |
' This example creates an FxTree, and sets an image clip as the new operator. set oTree = CreateFxTree() ' Get the projects path for the current system sPath = InstallationPath( siProjectPath ) set oClip = CreateImageClip( sPath & "\Pictures\noIcon.pic", "NewClip" ) ' Add the new image clip operator and print out some info set oOperator = AddImageClipFxOp( oTree, oClip ) Application.LogMessage "New operator is called '" _ & oOperator.Name & "' operator." ' Output of above script is: 'INFO : "New operator is called 'FromClip_NewClip' operator." |