Show contents 

Dimensions > Dimensions Assembly Interfaces > IDimElementGroup > IDimElementGroup.UnionType

IDimElementGroup.UnionType

Syntax

UnionType: UnionGroupType;

Description

The UnionType property determines type of interaction between several element group primitives.

Example

Sub UserProc;
Var
    Mb: IMetabase;
    Mobj, Mobj1: IMetabaseObject;
    ElemGroup : IDimElementGroup;
Begin
    Mb:= MetabaseClass.Active;
    Mobj:=Mb.ItemById("D_TO").Edit;
    If MB.ItemById("D_TO").Children.Count<>0 Then
        Mobj1:=Mobj.Children.Item(0).Edit;
        ElemGroup:=Mobj1 As IDimElementGroup;
        ElemGroup.UnionType:=UnionGroupType.Intersection;
        Mobj1.Save;
    End If;
    Mobj.Save;
End Sub UserProc;

After executing the example primitives of the zero group of elements overlap.

See also:

IDimElementGroup