OOF2: The Manual

Name

OOF.Mesh.Cross_Section.Edit — Reparametrize a cross section on a mesh.

Synopsis

OOF.Mesh.Cross_Section.Edit(mesh,name,cross_section)

Details

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

    mesh
    Type: The path to an existing Mesh object.
    name
    Cross section to edit. Type: A character string.
    cross_section
    New value for the cross section. Type: An object of the MeshCrossSection class.

Description

Edit the cross section named name in the given mesh. Actually, the cross section is just replaced by the given cross_section, which must be an object of the MeshCrossSection class. The GUI buttons for editing cross sections in the Cross Section toolbox and the Analysis page do the actual editing: they fill in a dialog box with the parameters for the cross section, and let the user change them. Then they issue the OOF.Mesh.Cross_Section.Edit with the new cross section.