Declaration: TParticles.LoadFeatureConfig (FName: string): integer;
The function LoadFeatureConfig reads the configuration file FName containing the definitions of the particle features. This method can be used to load, for example, a default configuration of the particle features. If LoadFeatureConfig is successful the features are reconfigured to the loaded configuration. Any existing feature definitions will be lost. Please note that this method loads and changes only the feature definitions but not the content of the particle feature matrix (except for adjusting the number of features). Thus after loading a new configuration, the remaining feature data might be nonsense. Thus we strongly recommend to use this method with care and use it only before any particle data are loaded.

The function returns the following error codes:

 0 ... everything is OK, the particle features have been configured accordingly
-1 ... cannot read the configuration data

Hint 1: In order to load both a stored configuration together with the particle feature data you should use the method Load of the property PartFeatures.

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