|
www.mxdraw.com
|
设置是否显示线宽。
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;
}