API Help
Eplan.EplApi.HEServices Namespace / Edit3D Class / Unite Method
Collection of objects which will be combined. Must have at least 2 elements.
Absolute position of handle.

In This Topic
    Unite Method
    In This Topic
    Merges collection of layout space components in such a way that their are treated like one object.
    Syntax

    Parameters

    colPlacements2Unite
    Collection of objects which will be combined. Must have at least 2 elements.
    oPoint
    Absolute position of handle.

    Return Value

    New object which parent is an installation space of components from which it has been created. If value is null unite didn't end with success. For more information in this case please check system messages.
    Exceptions
    ExceptionDescription
    Is thrown in case of null collection is passed or number of valid items is less then 2.
    If this functionality is not avaiable. Please check exception message.
    If internal error has occured. Please check exception message.
    Remarks

    Unite creates one new object by combining meshes of elements. After this method is called all objects passed as parameter become invalid.

    The handle which location is a prameter is stored in a new object. If a 3D macro is generate from this object, then it is moved to this point on the cursor and placed.

    See Also