CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

AutoCAD 文档中心

对象元素列表格式参考(Visual LISP IDE)

2023-1-8 03:42| 发布者: admin| 查看: 222| 评论: 0|来自: AutoCAD

摘要: 检查元素列表的内容会有所不同,具体取决于要检查的对象的数据类型。

检查元素列表的内容会有所不同,具体取决于要检查的对象的数据类型。

注意:Visual LISP IDE 仅在 Windows 上可用。

下表标识了每种数据类型的列表内容。

检查元素列表

数据类型

元素列表的内容

INT(整数)

以二进制、八进制、十进制、十六进制和字符格式表示的整数。字符格式表示与数字对应的 ASCII 字符(对于大数字,它采用最后一个字节)。

实数(浮点数)

实数值;没有元素列表。

字符串

字符串中的字符序列,这些字符序列又可以作为整数进行检查。

双击列出的字符以查看其 ASCII 数字表示形式。

象征

三个元素:值、打印名称和标志。

标志可以是以下之一:

保护分配

Tr跟踪

输入时调试

呵呵出口到ACAD

右键单击对象行,然后单击符号服务以查看或更改与符号服务对话框中的符号相关的信息。

列表(用于正确的列表)

检查清单中的项目。

列表(用于不正确的列表)

两个要素:领域。它适用于所有不是正确列表的情况,即最后一个不是。carcdrcdrnil

例如,构造者的列表表示如下:(cons 4 '(5 . 0))

FILE

The name of the corresponding file and the file's opening attributes.

File Inspect fields include the following:

Name is string that contains the file name used in the function. open

Mode indicates whether the file is open for input, output, append, or whether the file is closed.

ID shows the internal file identifier.

Position shows the current position in the file.

EOF indicates whether or not the end of the file has been reached. This field does not appear if a file is open for output.

SUBR, EXRXSUBR, and USUBR

The name of the function (the name that was specified in or at load time). refers to internal and compiled functions, refers to external ARX functions, and identifies user-defined functions. defunSUBREXRXSUBRUSUBR

The data type represents functions that cannot be debugged with the Visual LISP debugging tools (for example, you cannot set breakpoints). These are internal AutoLISP functions, or functions loaded from FAS or VLX files. The Inspect window shows a string containing the name of the symbol, as in the following example: SUBRSUBR

The data type represents functions that can be debugged with the Visual LISP debugging tools (for example, you can set breakpoints and view the values of program variables). These functions are loaded from AutoLISP source code. USUBR

The Inspect window shows the name of the symbol, a list of function parameters (arguments), and a list of local variables declared in the function (listed after the “/” in the argument list). The following example shows an Inspect window for a function named YINYANG that does not accept any arguments, but does declare several local variables: USUBRdefun

The data type represents functions loaded from ObjectARX or .NET applications. The Inspect window shows a string containing the function name, as in the following example: EXRXSUBREXRXSUBR

ENAME (drawing entity)

The fields in this element list correspond to the AutoCAD DXF object list, as returned by the AutoLISP built-in function.

The following example shows an Inspect window for a circle:

选择集(选择集)

所选 AutoCAD 对象的列表。

变体

多属性的数据类型和值。

下面的示例显示包含双精度数组的变体的“检查”窗口:

安全阵列

安全数组的数据类型、维数和值。

以下示例显示了单维双精度数组的“安全阵列检查”窗口:


路过

雷人

握手

鲜花

鸡蛋

最新评论

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )

GMT+8, 2024-5-19 12:10

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部