Declaration: TParticles.FindClassID (ClassID: string): integer;
The function FindClassID searches for a particle class having the unique class identifier ClassID. The search for the unique identifier is not case sensitive.

The function returns the following error codes:

>0 ... the ClassID has been found, the returned number is the corresponding class number (1..NClasses)
-1 ... the specified class identifier does not exist
-2 ... the ClassID must not be empty

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