Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4COM)  1.26.2
IRobotPoint Interface Reference

Inherits IDispatch.

Collaboration diagram for IRobotPoint:
Collaboration graph

Properties

DOUBLE Item ([in] VARIANT nameOrIndex) [get, set]
 
RobotCoordinateSystem Type [get]
 
DOUBLE Point [get, set]
 

Detailed Description

Definition of the IRobotPoint interface.

Use the IRobotPoint interface to define points for movement.

Definition at line 71 of file IRobotPoint.idl.

Property Documentation

DOUBLE IRobotPoint::Item
getsetproperty

This property returns the value of the given coordinate index.

This property sets the value to the given coordinate index.

Parameters
[in]nameOrIndexThe index (starting a 0) of the coordinate.
[out]valueReturns 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]nameOrIndexThe index (starting a 0) of the coordinate.
[in]valueNew 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]TypeCoordinate 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; // returns RobotCoordinateSystem.ROBOT_CS_MCS
Example VBA:
DOUBLE IRobotPoint::Point
getsetproperty

This property returns GroupPoint of the Point.

Parameters
[out]PointGroupPoint 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: