## ApplyCloth

### Introduced

v1.0

### Description

Applies the Cloth operator.

### Scripting Syntax

    oReturn = ApplyCloth( [InputObjs] );

### Return Value

Returns an XSICollection with the Cloth Operator as its first member.

### Parameters

Parameter | Type | Description
--- | --- | ---
InputObjs | String | List of objects Default Value: Selected objects

### Examples

#### VBScript Example

    ' Example of applying Cloth

    set myCloth = CreatePrim( "Grid", "MeshSurface", "Cloth" )

    ApplyCloth myCloth

### See Also

AddClothClusters AddParticleObstacle AddParticleForce