s := extrude.segment.group(p,i<,slot>)

Get the group name assigned to segment i of extrude set p in slot slot, if provided. The slot named 'Default' is used by default if slot is not provided.

A slot index may be used instead of a string for slot. Indices operate more efficiently than strings.*


s - the group name; None is returned if no group has been assigned in the given slot


p - extrude set pointer

i - segment index

slot - the slot name or index*; if not given, the slot name 'Default' is used


*Use the group.find and group.find.slot intrinsics to obtain group and slot indices, respectively, and for further information.

Use of the group logic is described in Groups.