ECPSet Method

Description
Defines an ECP (external control point).

Syntax
Sub ECPSet ( ECPNumber As Integer, Point As SpelPoint)
Sub ECPSet (ECPNumber As Integer, XCoord as Double, YCoord as Double, ZCoord as Double, UCoord as Double [, VCoord As Double] [, WCoord as Double)]

Parameters

  • ECPNumber
    An expression or integer expression from 1 to 15 indicating which of the external control points to define.
  • Point
    A SpelPoint indicating the point data.
  • XCoord
    The external control point X coordinate.
  • YCoord
    The external control point Y coordinate.
  • ZCoord
    The external control point Z coordinate.
  • UCoord
    The external control point U coordinate.
  • VCoord
    Optional. The external control point V coordinate.
  • WCoord
    Optional. The external control point W coordinate.

Remarks
If an error occurs and the ErrorNumber property of the SpelException is 3101, see the remarks in the SetPoint method.

See Also
ArmSet Method, ECP Method, GetECP Method, TLSet Method, SetPoint Method

ECPSet Example
VB Example:

m_spel.ECPSet(1, 100.5, 99.3, 0, 0)  

C# Example:

m_spel.ECPSet(1, 100.5, 99.3, 0, 0);