Edit the parameters of the process
You can edit all the parameter values in the right column
of this dialog window by using the following techniques:
- Enter the values `by hand'
This method is applicable to all process parameters,
regardless of its type. You can use numeric values
or, when appropriate, strings, and variable names of course.
When entering strings you have to enclose them in double
quotes to distinct them from variable names.
Variable names in turn, may be used only when the variable has
already been defined.
If you reference other processes, you have to give their
usual process identification, a combination of process
number, followed by a 2 digit process type and a 2 digit
child process number. Be careful when specifying processes
- Drag processes from the process script
Often it is much easier and safer, to use this technique
(called drag and drop) for
specifying references to other processes.
It avoids the hazard of referencing non existing processes
or incorrect process types. You still have to know something
about the child process numbers of the referenced process.
Because MegaEdit does not know which child of a process you
wish to use, it usually assumes that you want to reference
the first child, which is not always correct.
Exceptions are the following process types, which are automagically
referenced via their second child:
You should check the child number before closing the dialog
box to amke sure that you have built a connection to the right
- Normal vector,
- Tangent vector,
- Quintvector, and
- B-spline polygon.
To drag a process, you have to position the pointer above
the process script entry you want to reference. Then press
and hold the middle mouse button and drag the
process to the corresponding edit field in the parameter
dialog. Release the mouse button to drop the reference
The edit field now contains the
identification of the process. If the process contained
an implicit definition of a variable name, the syntax
for reference of child processes by using parentheses
has to be used (e.g. FARFIELD(1) references
child 1 of the process named FARFIELD).
When you drop a process onto the group number text field
in the parameter dialog box, the group is taken from the
process and placed into the text field.
- Processes with a variable number of arguments
- Deleting parameters
To delete the last child of a process which has a variable number
of children (like the concat first layer process) you
push the `Delete' button.
- Adding parameters
To add a new parameter after the existing children,
you use the `Add' button. You can fill in the contents
of the new child using one of the techniques described above.
The Info button offers additional informations about the parameters
of the process that is beeing edited.
When you have completed all your edits, select the Update
button in the parameter window to update the process script and
to close the parameter dialog.
Check the result of your edit
Immediately after closing the edit dialog window the process
tree display is updated. You should carefully check all the
twigs of the changed process before you continue to edit
different processes or save the script.