entsel约束条件lisp_晓东CAD家园-论坛-A/VLISP-未公开的LISP函数用法讨论-函数:seturl geturl设置链接在一个实体上,或者获取链接。例如:(defun c:test1...

本文介绍了AutoLISP中的*push-error-using-stack*函数,用于在自定义错误处理器中访问函数内部的局部变量。同时提到了entsel约束条件和如何使用seturl、geturl设置和获取实体上的链接。示例代码展示了如何在出现错误时,通过命令和函数来捕获并处理错误信息。
摘要由CSDN通过智能技术生成

本帖最后由 Free-Lancer 于 2013-5-7 19:26 编辑

*push-error-using-stack* (AutoLISP) 2014

Error-handling function that indicates the use of variables from the AutoLISP stack within a custom *error* handler.                (*push-error-using-stack*)

Allows access to the local AutoLISP variables on the stack defined within the function where the error occurred from your                  custom error handler. A call to the *push-error-using-stack* function overrides a previous call to *push-error-using-command*.

If *push-error-using-command* or *push-error-using-stack* are not called, by default AutoLISP works as if *push-error-using-stack* was called.

NoteThis function cannot be used when the command function is used with in a custom *error* handler.

Return Values

A value of T is returned. [pcode=lisp,true](setq var1 "Global1"      ; Set some global variables

var2 "Global2"

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值