Declaration: TParticles.PartID [PartIx: integer]: integer;
The property PartID returns the unique particle id of a particle having the index PartIx. If the specified index is out of range a zero value is returned.

Hint: In order to access the particles currently loaded in the particle editor you can use the pre-declared global variable PEData.