wqfnet 发表于 2004-11-24 09:56:00

[ARX]如何禁用打印功能?

在InitApp中加入以下语句
acedCommand(RTSTR, "undefine", RTSTR, "plot", RTNONE);
不管用,如果在一个命令对应的函数中加入则可以,但是我想要在arx一加载就禁用,我
该怎么办?谢谢!!!

王咣生 发表于 2004-11-24 12:23:00

acedCommand()函数的限制:
The following restrictions apply to this function:

You cannot call acedCommand() to invoke AutoLISP functions nor other ARX applications (external functions in other ARX applications can be invoked with acedInvoke()).
You cannot call acedCommand() to invoke AutoCAD commands that directly access peripheral devices. These commands include DTEXT, SKETCH, and PLOT.
You can call acedCommand() to invoke SCRIPT or RSCRIPT (unlike the AutoLISP (command)).
引自: arxref.chm

wqfnet 发表于 2004-11-24 13:47:00

多谢斑竹!但是我怎么解决我的问题?

王咣生 发表于 2004-11-24 17:48:00

用acutBuildList(..)试试.
页: [1]
查看完整版本: [ARX]如何禁用打印功能?