To get a handle and manipulate robot positions, get a handle for a vcPositionFrame object.
You can do this by:
- Get a handle for the vcMotionStatement or vcPositionStatement for the robot position. In most cases, you will need to access vcExecutor.Program.MainRoutine or get a handle for another routine in program, and then use the Scope of routine to get handle for statement.
- Any statement with positions would inherit vcPositionStatement, so use its Positions property to get a list of positions, which are vcPositionFrame objects.