SpelPoint Class
The SpelPoint class can be used in several motion methods and also in the GetPoint and SetPoint methods of Spel class.
Here are some Visual Basic examples:
1:
Dim pt As New RCAPINet.SpelPoint(25.5, 100.3, -21, 0)
m_spel.Go(pt)
2:
Dim pt As New RCAPINet.SpelPoint
pt.X = 25.5
pt.Y = 100.3
pt.Z = -21
m_spel.Go(pt)
3:
Dim pt As New RCAPINet.SpelPoint
pt = m_spel.GetPoint("P*")
pt.Y = 222
m_spel.Go(pt)
Here are some Visual C# examples:
1:
SpelPoint pt = new SpelPoint(25.5, 100.3, -21, 0);
m_spel.Go(pt);
2:
SpelPoint pt = new SpelPoint();
pt.X = 25.5;
pt.Y = 100.3;
pt.Z = -21;
m_spel.Go(pt);
3:
SpelPoint pt = new SpelPoint();
pt = m_spel.GetPoint("P0");
pt.Y = 222;
m_spel.Go(pt);