make
Description:
public static Element?
make (
string factoryname,
string? name)
Create a new element of the type defined by the given element factory.
If name is NULL, then the element will receive a guaranteed unique name, consisting of the element factory name and a number. If name is
given, it will be given the name supplied.
Parameters:
| factoryname |
a named factory to instantiate |
| name |
name of new element, or NULL to automatically create a unique name |
Returns:
| new Element or NULL if unable to create element |