SimGet Method

Description
Acquire the setting values of each object properties of simulator.

Syntax
Sub SimGet (Object As String, Property As SpelSimProps, ByRef Value As Boolean)
Sub SimGet (RobotName As String, HandName As String, Property As SpelSimProps, ByRef Value As Boolean)
Sub SimGet (Object As String, Property As SpelSimProps, ByRef Value As Double)
Sub SimGet (RobotName As String, HandName As String, Property As SpelSimProps, ByRef Value As Double)
Sub SimGet (Object As String, Property As SpelSimProps, ByRef Value As Integer)
Sub SimGet (RobotName As String, HandName As String, Property As SpelSimProps, ByRef Value As Integer)
Sub SimGet (Object As String, Property As SpelSimProps, ByRef Value As Boolean)
Sub SimGet (RobotName As String, HandName As String, Property As SpelSimProps, ByRef Value As String)

Parameters

  • Object
    String variable that indicates the object name to acquire the property values for.
  • RobotName
    Sting variable that indicates the robot name to which the hand specified in “Hand” is mounted.
  • HandName
    String variable that indicates the hand name to acquire the property values for.
  • Property
    The name of the property to acquire the values for.
  • Value
    Variable indicating the returned value.

Remarks
Use this method to acquire the property setting value of each object of the simulator.

For each property details, refer to the following manual.
Epson RC+ 8.0 SPEL+ Language Reference - SimGet

See Also
SimSet Method

SimGet Example
VB Example:

Dim posX As Double  
m_spel.SimGet("SBox_1", SpelSimProps.PositionX, posX)  

C# Example:

double posX;  
SimGet("SBox_1", SpelSimProps.PositionX, out posX);