www.mxdraw.com
|
设置前一次输入点数据。
static VOID Mx_SetPreviousInputPoint(McGePoint3d point);
参数 |
说明 |
McGePoint3d point |
点坐标,文档坐标。 |
例如: C#
private void OnTest() { MxDrawUiPrPoint getPt1 = new MxDrawUiPrPoint(); getPt1.message = "1点:"; if(getPt1.go() != MCAD_McUiPrStatus.mcOk) return; MxDrawUiPrPoint getPt2 = new MxDrawUiPrPoint(); getPt2.message = "2点:"; getPt2.basePoint = getPt1.value(); if (getPt2.go() != MCAD_McUiPrStatus.mcOk) return; MxDrawUiPrPoint getPt3= new MxDrawUiPrPoint(); getPt3.message = "3点:"; getPt3.basePoint = getPt1.value(); MxDrawResbuf param = new MxDrawResbuf(); param.AddPoint(getPt1.value()); axMxDrawX1.CallEx("Mx_SetPreviousInputPoint", param); if (getPt3.go() != MCAD_McUiPrStatus.mcOk) return; }