OOF2: The Manual
Name
OOF.ElementGroup.Assign_Material — Assign a bulk material to an element group.
Synopsis
OOF.ElementGroup.Assign_Material(skeleton, group, material)
Details
- Parent Menu: OOF.ElementGroup
-
Callback: function
_assign_matlin moduleooflib.engine.IO.skeletongroupmenu -
Parameters:
Description
Assigning a Material to a Skeleton ElementGroup is a way of
overriding the Material assigned to pixels by OOF.Material.Assign. Normally an Element's
Material is implicitly inherited from the Element's dominant
pixel. If a Material has been explicitly assigned to an
ElementGroup with OOF.ElementGroup.Assign_Material, the
explicitly assigned Material will be used instead of the
implicitly inherited Material for all Elements in the group.
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. If a Material is assigned to
a group that already had an explicitly assigned Material, the new
Material replaces the old one for all Elements in the group.
In the GUI, OOF.ElementGroup.Assign_Material is invoked by the button in the Material subpane of the Element group operations pane in the Skeleton Selection Page when the page is in Elements mode.



