vl-prin1-to-string (vl-prin1-to-string data) 返回LISP数据的字符串表示形式,就好像它是由prin1函数输出的一样 vl-princ-to-string (vl-princ-to-string data) 返回LISP数据的字符串表示形式,就好像它是由princ函数输出的一样 vl-propagate (vl-propagate 'symbo
acet-ms-to-ps从模型空间单位转换实数值到图纸空间单位 acet-ps-to-ms从图纸空间单位转换实数值到模型空间单位 action_tile为某一对话框控件指定一个动作表达式,用户在对话框中选中这个控件时,就会执行该动作表达式 add_list在当前激活的对话框的列表框中增加一个字符串或修改其中的一个字符串 alert显示一个警告框...
(expt base power) Returns a number raised to a specified power ✓ ✓ ✓ -- ✓ (fix number) Returns the conversion of a real into the nearest smaller integer ✓ ✓ ✓ -- ✓ (float number) Returns the conversion of a number into a real ✓ ✓ ✓ -- ✓ (...
次のサンプル コードは、CDATE が返す値の異なる日付と時刻の部分を抽出するために使用できる関数の例を示しています。 ; Returns or outputs the current date and time ; bOutput = T - Output the string to the Command prompt ; bOutput = nil - Return a string in the MM/DD/YYYY HH...
AbsadsallocandangleangtosappendapplyatomasciiassocatanAtofatoidistanceequalfixfloati flengthlistloadmembernilOpenorpireadrepeatreversesettypewhile2.setq函数 setq函数用 于给变量赋值其格式如下:setqnamevalueNamevalue…其中Name变量名Value赋予变 量的值赋予变量的值可以是任何表达式数字表达式字符串表达式或既含有字...
AUTOLISP 程序命令 1.+(加)返回所有数的和 2.–(减)将第一个数减去其他数的和并返回差值 3.*(乘)返回所有数的乘积 4./(除)将第一个数除以其他数的乘积并返回商 5.=(等于)比较参数是否相等 6./=(不等于)比较参数是否值不相等 7.<(小于)如果每个参数值都小于它右边的参数则返回T,否则返回nil 8.<...
float 将一个数转换为实数后返回 101. foreach 将表中的所有成员以指定变量的身份带入表达式求值 102. function 通知 Visual LISP 编译器将参数作为内置函数进行链接和优化 103. gc 强制收集无用数据,释放不再使用的节点 104. gcd 返回两个整数的最大公约数 105. get_attr 获取对话框指定控件的某个属性值 ...
AutoCAD will interpret a space in the same way it interprets a carriage return. The T is a special AutoLisp symbol that means "true" it is used to allow spaces in string input. In fact, you can use any positive integer (such as 1) in place of T but the T symbol helps to make ...
AutoLISP语言的基本函数 10.4AutoLISP的基本函数 •本节主要介绍AutoLISP基本函数的功能及其使用方法,基本函数主要包括数值函数、赋值函数、求值函数与禁止求值函数,表处理函数、字符串处理函数、交互式输入函数和屏幕操作函数等,并针对所讲述的函数介绍一些程序设计的基本方法和技巧。• A.学习要求:了解函数的调用...
Type: String Name of the file or directory to be searched for. Return Values Type: String or nil A string containing the fully qualified file name; otherwise nil, if the specified file or directory is not found. The file name returned by findfile is suitable for use with the open ...