MAXScript Extensions > MAXScript Extensions for Particle Flow > Particle Flow Classes > Operators > Birth and Death >

# Birth_Paint : Helper

    Birth_Paint - superclass: helper; super-superclass:node - 10:0 - classID:#(1395943170, 515064320)

Value > MAXWrapper > Node > Helper > Birth_Paint

| Particle Flow - Quick Navigation

Description:

The Birth_Paint operator allows the placement of particles by painting in the viewport.

The Birth_Paint operator uses a Particle Paint Helper as a reference for creating particles. With the Particle Paint helper, particle seeds are placed on an object with a specific pattern and timing. The Birth_Paint operator creates particles from these seeds, initializing particle position, rotation, mapping and selection status.

The Birth_Paint operator was first added to 3ds Max as part of the Creativity Extension to 3ds Max 2009 and became integral part in 3ds Max 2010.It was previously available in the Particle Flow Tools Box #1.

Constructor:

    Birth_Paint...

Properties:

## Particle Paint Helper

    <Birth_Paint>.Particle_Paint_Helper: node

Get/set the Particle Paint Helper used to define the seeds for particle generation.

## Timing

    <Birth_Paint>.Emit_Type: radiobtnIndex

Get/set the type of particle emission.

Possible values are:

0 - Emit Start and Stop Range (default)

1 - Emit Start and Duration

    <Birth_Paint>.Emit_Start: integer

Get/set the Emit Start value which controls the time particles start emitting, starting with particle seeds at the start of the first stroke.

    <Birth_Paint>.Emit_Stop: integer

Get/set the EmitStopvalueused when Emit_Type is set to 0.

The time to emit all strokes in the Particle Paint helper is scaled to fit the time between Emit Start and Emit Stop.

    <Birth_Paint>.Duration: integer

Get/set the Emit Duration valueused when Emit_Type is set to 1. In this case, the time to emit all strokes in the Particle Paint helper is equal to the Duration value.

    <Birth_Paint>.Subframe_Sampling: boolean

Get/set the state of the Subframe Sampling option.

When set to true, particles are emitted on the sub-frame timing as defined by the strokes’ timing and the Emit Start and Emit Stop values. This can help avoid particle clumps.

When set to false, the particle creation time is clamped to the nearest whole frame value.

## Lock At Painted Objects:

    <Birth_Paint>.Lock_Position: boolean

Get/set the state of the Lock At Painted Object > Position option.

When set to true, causes all particles’ pivot points to stick firmly to the painted objects.

    <Birth_Paint>.Lock_Rotation: boolean

Get/set the state of the Lock At Painted Object > Rotation option.

When set to true, causes all particles to retain their original orientations. Even if the painted object has surface animation, particles retain the same normal orientation they had at the moment of generation.

## Acquire Selection

    <Birth_Paint>.Acquire_Selection: boolean

Get/set the state of the Acquire Selection option.

When set to true, the operator will use the Particle Paint helper selection. This selection overwrites the PF Source particle selection, if any. The Sub-Object selection type is controlled by the .Selection_Type property.

    <Birth_Paint>.Selection_Type: radiobtnIndex

Get/set the Sub-Object selection type for the Acquire Selection option.

Possible values are

0 - Particles (default)

1 - Strokes

### Birth_Paint Interfaces:

The following Interfaces are exposed by the Birth_Paint Class:

Interface: action

Interface: operator

Interface: PViewItem

#### See Also

- Birth : Helper

- Birth_Script : Helper

- Particle Flow Classes