OOF2: The Manual

Name

OOF.ElementGroup.Remove_Material — Remove a bulk material from an element group.

Synopsis

OOF.ElementGroup.Remove_Material(skeleton, group)

Details

  • Parent Menu: OOF.ElementGroup
  • Callback: function _remove_matl in module ooflib.engine.IO.skeletongroupmenu
  • Parameters:

    skeleton
    Type: The path to an existing Skeleton object.
    group
    Name of the group. Type: The name of a group of Skeleton elements.

Description

OOF.ElementGroup.Remove_Material undoes the effect of OOF.ElementGroup.Assign_Material.

If an Element is in more than one ElementGroup, the Element's Material is the chronologically last one assigned to any of the groups to which the Element belongs. Calling Remove_Material causes the Material to be recomputed if necessary. If after the removal none of an Element's groups have an assigned Material, the implicitly inherited Material from the dominant pixel will be used instead.

To verify what Material is assigned to an Element, use the Skeleton Info toolbox.

In the GUI, OOF.ElementGroup.Remove_Material is invoked by the Remove button in the Material subpane of the Element group operations pane in the Skeleton Selection Page when the page is in Elements mode.