OOF2: The Manual

Name

OOF.Property.Copy — Copy a Property.

Synopsis

OOF.Property.Copy(property, new_name)

Details

  • Parent Menu: OOF.Property
  • Callback: function _copywrapper in module ooflib.engine.IO.propertymenu
  • Parameters:

    property
    Name of the source Property. Type: A character string.
    new_name
    Name for the new Property (begin with a letter, use no spaces or punctuation other than '_'). Type: A character string matching the regular expression '[a-zA-Z_][a-zA-Z0-9_]*$', or the value automatic.

Description

Make a copy of an existing Property, with the same parameters. The source Property can be a named Property or one of the predefined unnamed Properties.

See Also