Eplan Platform API
Eplan.EplApi.DataModel.E3D Namespace / Function3D Class / PlaceAssembly Method
Part reference that is used for placing component
Parent object under which component will be placed or InstallationSpace.
List, that will be filled with additionally created objects. Can be null
Length (in case of dust, mounting rail, etc). Please use value -1.0 to set the length from a part.

In This Topic
    PlaceAssembly Method
    In This Topic
    Creates a new part placement from an assembly
    Syntax

    Parameters

    Parameter NameDescription
    articleReferencePart reference that is used for placing component
    parentParent object under which component will be placed or InstallationSpace.
    listOfAdditionalObjectsList, that will be filled with additionally created objects. Can be null
    lengthLength (in case of dust, mounting rail, etc). Please use value -1.0 to set the length from a part.

    Return Value

    Returns newly placed part placement
    Exceptions
    ExceptionDescription
    Thrown when the articleReference is not an assembly
    Remarks
    The method corresponds to placing components of an assembly on a layout space like in the navigator '3D mounting layout->Place'. The AbsoluteTransformationOfMacro matrix is set to identity for all components of an assembly. The method should be used after creating device in a project which has a 3-d representation. There is no collision check.
    See Also