SimSet Method
Description
Set properties of each object of the simulator. Operate the robot motion, objects, and simulator settings.
Syntax
Sub SimSet (Object As String, Property As SpelSimProps, Value As Boolean)
Sub SimSet (RobotName As String, HandName As String, Property As SpelSimProps, Value As Boolean)
Sub SimSet (Object As String, Property As SpelSimProps, Value As Integer)
Sub SimSet (RobotName As String, HandName As String, Property As SpelSimProps, Value As Integer)
Sub SimSet (Object As String, Property As SpelSimProps, Value As Double)
Sub SimSet (RobotName As String, HandName As String, Property As SpelSimProps, Value As Double)
Sub SimSet (Object As String, Property As SpelSimProps, Value As String)
Sub SimSet (RobotName As String, HandName As String, Property As SpelSimProps, 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
A string variable indicating the hand name for which to set the property value. - Property
The name of the property to set the new value for. - Value
Formula for new value
Remarks
Use this method to set properties of each object of the simulator. Also, use the command to change the robot motion, objects, and simulator settings.
You cannot specify SpelSimProps.Type for the property.
For details of each property, refer to the following manual.
Epson RC+ 8.0 SPEL+ Language Reference - SimSet
See Also
SimGet Method
SimSet Example
VB Example:
m_spel.SimSet ("SBox_1", SpelSimProps.PositionX, 100.0)
C# Example:
m_spel.SimSet("SBox_1", SpelSimProps.PositionX, 100.0);