API Help
Eplan.EplApi.DataModel.E3D Namespace / PointMate Class / SnapTo Method / SnapTo(Mate,Double) Method
target for snapping.
rotation angle (radian).

In This Topic
    SnapTo(Mate,Double) Method
    In This Topic
    Snap this mate to another mate.
    Syntax
    public void SnapTo( 
       Mate pTargetMate,
       double dRotationAngle
    )
    public:
    void SnapTo( 
       Mate^ pTargetMate,
       double dRotationAngle
    ) 

    Parameters

    pTargetMate
    target for snapping.
    dRotationAngle
    rotation angle (radian).
    Exceptions
    ExceptionDescription
    Thrown when param is null value. Check exception message for more info.
    Thrown when operation failed. Check exception message for more info.
    Remarks
    Snapping means that the position and/or orientation of the associated placement will change, so that this mate fits to the target mate. Usually after the snapping, Placement3D becomes a child of the 'owner' of a target mate. There are however exceptions. For example when placing a component on a mounting point (like RP16) and in the same position there is a mounting surface, then component is arranged hierarchically below the mounting surface. If there is no mounting surface, then the component is arranged under cabinet.
    See Also