OOF2: The Manual

Name

OOF.Mesh.Cross_Section.Copy — Copy a cross section, possibly to a different Mesh.

Synopsis

OOF.Mesh.Cross_Section.Copy(current,cross_section,mesh,name)

Details

  • Parent Menu: OOF.Mesh.Cross_Section
  • Callback: function _copyCS in module ooflib.engine.IO.meshmenu
  • Parameters:

    current
    Mesh to copy the cross section from. Type: The path to an existing Mesh object.
    cross_section
    Cross section to copy. Type: A character string.
    mesh
    Mesh to copy the cross section to. Type: The path to an existing Mesh object.
    name
    Name of the copied cross section. Type: A character string, or the variable automatic.

Description

Copy the cross section named cross_section from the Mesh named current to the Mesh named mesh, giving the copy the name name.

If the given name is not unique among all cross sections in the target Mesh, the string <x> will be appended to it, where x is an integer chosen to make the name unique. If the name is automatic, a suitable (but boring) name will be generated.

The source mesh (current) and the target mesh (mesh) need not be different.