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

设置是否显示线宽。

IDL
static void Mx_ShowWeight(LONG lShow = 1);

例如:JS

        function DrawSpline() {
            mxOcx.Cal("Mx_ShowWeight");
            var param = mxOcx.NewResbuf();
            mxOcx.SendStringToExecuteFun("_DrawSpline", param);
            var retparam = mxOcx.GetEntitysLastCmd();
            if (retparam == null)
                return;

            if (retparam.Count == 0)
                return;

            var spline = retparam.AtObject(0);
            if (spline == null) {
                return;
            }

            spline.Lineweight = 20;



        }
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!