hexagon logo

VB.Net Automation of MovePoint Values

I can insert MovePoints using VB.Net with the Command Object as shown.

 

Dim PCDcommands As PCDLRN.Commands
Dim NewCMD As PCDLRN.Command

NewCMD = PCDcommands.Add(PCDLRN.OBTYPE.MOVE_POINT, True)

However, I cannot change the X,Y,Z values.

It's always MOVE/POINT,NORMAL,<0,0,0>

I've tried various version of the PutText method:

NewCMD.PutText("1.1", PCDLRN.ENUM_FIELD_TYPES.NOMINAL, 0)

The above does not work. 

Any ideas?

Thanks,

Mike