API Help
Eplan.EplApi.DataModel.E3D Namespace / PointMate Class / SnapTo Method / SnapTo(LineMate,Double) Method
LineMate to snap to.
x coordinate relative to the coordinate system of the LineMate

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

    Parameters

    pTargetMate
    LineMate to snap to.
    dX
    x coordinate relative to the coordinate system of the LineMate
    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