[ARX]如何禁用打印功能?
在InitApp中加入以下语句acedCommand(RTSTR, "undefine", RTSTR, "plot", RTNONE);
不管用,如果在一个命令对应的函数中加入则可以,但是我想要在arx一加载就禁用,我
该怎么办?谢谢!!!
回复
acedCommand()函数的限制:The following restrictions apply to this function:
<UL>
<LI class=bulletBegin>You cannot call acedCommand() to invoke AutoLISP functions nor other ARX applications (external functions in other ARX applications can be invoked with acedInvoke()).
<LI class=bulletEnd>You cannot call acedCommand() to invoke AutoCAD commands that directly access peripheral devices. These commands include DTEXT, SKETCH, and PLOT. </LI></UL>
You can call acedCommand() to invoke SCRIPT or RSCRIPT (unlike the AutoLISP <SPAN class=bold>(command)</SPAN>).
引自: arxref.chm 多谢斑竹!但是我怎么解决我的问题?
回复
用acutBuildList(..)试试.
页:
[1]