|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】[求助]为什么acedretname总是返回rterror
[求助]为什么acedretname总是返回rterror
[求助]为什么acedretname总是返回rterror
以下代码len为1,但acedretname总是返回rterror,为什么?
ret=acedsslength(myss1,&len);
if(ret!=rtnorm) return;
if (len==0) return;
ret=acedretname(myss1,rtpicks);
if (ret==rtnorm)
{
acutprintf("<p1 selection set>");
}
已解决。
原来不能用addcommand,而要用aceddefun,才能返回值给lisp。
|