## ApplyICETemplate

### Introduced

v7.0

### Description

Applies an ICE template on an object. An ICE template is an ICETree defined by an ICE compound that has an execute output port, and which is exploded upon connection. This compound can also have picking strings assigned to some of its input ports. In that case, a pick session is started to select scene elements to be connected to their ports. ICE trees and templates can be applied on a single object or in branch.

### Scripting Syntax

    oReturn = ApplyICETemplate( File, [Target], [Inputs], [ConnectType] );

### Return Value

ICETree

### Parameters

Parameter | Type | Description
--- | --- | ---
File | String | ICECompoundNode
Target | String | Specifies the primary object to which the ICE tree is applied. Default Value: Current selection
Inputs | String | Specifies the input objects connected to the ICE tree. This can be a list of comma-separated names. Default Value: A picking session is launched for each port that has a picking string defined.
ConnectType | siBranchFlag | Specifies the type of connection. Default Value: siUnspecified

### See Also

ApplyICEOp GeneratePointCloudWithICETerminal