Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Fem Namespace / Node Class / SetRestraint Method / SetRestraint(Boolean,Boolean,Double,Double) Method
True if the X direction is restrained
True if the Y direction is restrained
Displacement along X
Displacement along Y

In This Topic
    SetRestraint(Boolean,Boolean,Double,Double) Method
    In This Topic
    Sets a 2D restraint.
    Syntax
    'Declaration
     
    Public Overloads Sub SetRestraint( _
       ByVal inX As Boolean, _
       ByVal inY As Boolean, _
       Optional ByVal amountInX As Double, _
       Optional ByVal amountInY As Double _
    ) 
    public void SetRestraint( 
       bool inX,
       bool inY,
       double amountInX,
       double amountInY
    )

    Parameters

    inX
    True if the X direction is restrained
    inY
    True if the Y direction is restrained
    amountInX
    Displacement along X
    amountInY
    Displacement along Y
    See Also