在网页中如何设置线宽?
MxDraw网页开发|黄洪辉|2018-05-18 16:09
-
回答:
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; }