MAXScript Extensions > MAXScript Extensions for Reactor >

# SBCollection : Helper

    SBCollection - superclass: Helper; super-superclass:Node - classID: #(1884502783, 1008678790)

The Reactor dynamics system has been retired and REMOVED from 3ds Max 2012.

Value > MAXWrapper > Node > Helper > reactor > SBCollection

Constructors:

    SBCollection ... rctSBCollection ...

Properties

    .disabled: boolean

When set to true , the SBCollection will be disabled.

    .internalSteps(Internal_Steps) : integer

Controls the number of internal substeps per keyframe performed by the Soft Body simulation - corresponds to the "Internal Steps" spinner in the Advanced rollout.

### Interfaces

    Interface:rctSoftBodyCollectionInterface

Properties:

    .softBodies: node by value array : Read|Write

Get/Set the array of Soft Body nodes in the collection.

    .disabled: boolean : Read|Write

When set to true , disables the collection.

Methods:

    <boolean>addSoftBody <node>node

Adds a Soft Body node to the collection. Returns true on success. Returns false if the node does not have areactor_SoftBody : Modifierapplied.

    <boolean>removeSoftBodyIndex <integer>index

Removes the indexed Soft Body node from the collection. Returns true on success.

    <boolean>removeSoftBody <node>node

Removes the specified Soft Body node from the collection. Returns true on success.

    <integer>getNumSoftBodies()

Returns the number of Soft Body nodes in the collection.

#### See Also

- MAXScript Extensions forReactor