Base Method

Description
Defines the base coordinate system.

Syntax
Sub Base (OriginPoint As SpelPoint [, XAxisPoint As SpelPoint] [, YAxisPoint As SpelPoint] [, Alignment As SpelBaseAlignment] )

Parameters

  • OriginPoint
    Point data that specifies the origin and orientation of the base coordinate system
  • XAxisPoint
    Optional. SpelPoint on the X-axis of the base coordinate system.
  • YAxisPoint
    Optional. SpelPoint on the Y-axis of the base coordinate system.
  • Alignment
    Specifies which axis should be priority matched to the base when the parameters XAxisPoint and YAxisPoint are given. Optional.

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

See Also
Local Method, SetPoint Method

Base Example
VB Example:

Dim originPoint As New SpelPoint  
originPoint.X = 50  
originPoint.Y = 50  
m_spel.Base(originPoint)  

C# Example:

SpelPoint originPoint = new SpelPoint();  
originPoint.X = 50;  
originPoint.Y = 50;  
m_spel.Base(originPoint);