|
ModifyModel
|
Accueil Précédent Suivant |
C/C++ declaration
extern int __stdcall ModifyModel(long Handle, long Param, TModifyModel Style);
Pascal declaration
Function ModifyModel(Handle: LongInt; Param: LongInt; Style: TModifyModel): Integer;
This function modify the model.
IN → Handle : Model handle.
IN → Param : Parameterd defined depending upon the value of Style.
IN → Style : define the actual modification..
Table of the possible actions, depending upon style:
Notes:
1. Before modifying a neuron with mnModifyNeuron, it is better to read the informations of the target neuron with the function GetNeuroneInfo.The TNeuronData record is then written and has only to be modified. After the modification, a new call to GetNeuroneInfo will verify the action.
2. Before modifying a synapse with mnModifySynapse, it is better to read the target synapse information with the function GetSynapseInfo. The TSynapseData record is then written and has only to be modified. After the modification a new call to GetSynapseInfo will verify the action.