www.mxdraw.com
内容索引主面
前一个向上下一个
MxDrawXCustomFunction::Mx_SetPreviousInputPoint 方法

设置前一次输入点数据。

IDL
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;
            }
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!