Inherits IDispatch.
|
DOUBLE | Item ([in] VARIANT nameOrIndex) [get, set] |
|
RobotCoordinateSystem | Type [get] |
|
DOUBLE | Point [get, set] |
|
Definition of the IRobotPoint interface.
Use the IRobotPoint interface to define points for movement.
Definition at line 71 of file IRobotPoint.idl.
This property returns the value of the given coordinate index.
This property sets the value to the given coordinate index.
- Parameters
-
[in] | nameOrIndex | The index (starting a 0) of the coordinate. |
[out] | value | Returns the value of the given coordinate index. |
- Returns
- Return value indicating success (>=0) or error (<0).
- Example C#:
RobotPoint myPoint = Robot.CreatePoint(new double[] { 4.0 }, RobotCoordinateSystem.ROBOT_CS_MCS);
double xValue = myPoint[0];
- Example VBA:
- Parameters
-
[in] | nameOrIndex | The index (starting a 0) of the coordinate. |
[in] | value | New value of the given coordinate index. |
- Returns
- Return value indicating success (>=0) or error (<0).
- Example C#:
RobotPoint myPoint = Robot.CreatePoint(new double[] { 4.0 }, RobotCoordinateSystem.ROBOT_CS_MCS);
myPoint[0] = 5.0;
- Example VBA:
-
RobotCoordinateSystem IRobotPoint::Type |
|
getproperty |
This property returns IRobot::RobotCoordinateSystem type of the point.
- Parameters
-
[out] | Type | Coordinate system type of the point |
- Returns
- Return value indicating success (>=0) or error (<0).
- Example C#:
RobotPoint myPoint = Robot.CreatePoint(new double[] { 4.0 }, RobotCoordinateSystem.ROBOT_CS_MCS);
myPoint.type;
- Example VBA:
-
DOUBLE IRobotPoint::Point |
|
getsetproperty |
This property returns GroupPoint of the Point.
- Parameters
-
[out] | Point | GroupPoint structure of the Point |
- Returns
- Return value indicating success (>=0) or error (<0).
- Example C#:
- This function can currently not be used from C#.
- Example VBA:
-
The documentation for this interface was generated from the following file: