三、二次开发新增接口:VBA、LISP、DRX
l 、
VBA新增接口
1) MLine
2) Layout/Layouts
3) Plot/PlotConfiguration/PlotConfigurations
4) 3DSolid
5) Ole
6) SortentsTable
7) AcCmColor(真彩色)
8) SummaryInfo
2、
Lisp新增接口
主要添加了关于曲线操作和图形词典的存取方面的lisp函数,:新增的LISP函数列表:
1) vlax-curve-getClosestPointTo 返回曲线上离指定点最近的点(在 WCS 上)
2) vlax-curve-getEndParam 返回曲线端点的参数
3) vlax-curve-getEndPoint 返回曲线的端点(按 WCS 表示)
4) vlax-curve-getParamAtDist 返回距曲线开始点为指定距离的曲线参数
5) vlax-curve-getParamAtPoint 返回曲线在指定点的参数
6) vlax-curve-getPointAtParam 返回曲线上具有指定参数值的点
7) vlax-curve-getStartParam 返回曲线的开始参数
8) vlax-curve-getStartPoint 返回曲线的开始点(在 WCS 中)
9) vlax-curve-isClosed 确定指定曲线是否闭合(即起点与端点是否重合)
10) vlax-make-safearray 创建 SafeArray
11) vlax-safearray-fill 在 SafeArray 的元素中存储数据
12) vlax-safearray-get-dim 返回 SafeArray 对象的维数
13) vlax-safearray-get-element 返回 Safearray 中的元素
14) vlax-safearray-get-l-bound 返回 Safearray 某一维的下界(开始索引)
15) vlax-safearray-get-u-bound 返回 Safearray 某一维的上界(结束索引)
16) vlax-safearray-put-element 给 Safearray 中的某元素赋值
17) vlax-safearray-type 返回 SafeArray 的数据类型
18) vlax-safearray->list 以表的形式返回 SafeArray 中的元素
19) vlax-make-variant 创建变体数据类型
20) vlax-variant-change-type 在改变变体的数据类型后返回该变体的值
21) vlax-variant-type 确定变体的数据类型
22) vlax-variant-value 返回变体的值
23) vlax-ename->vla-object 将 ALISP 类型的对象名转换为 VLA 对象
24) vlax-erased-p 确定对象是否被删除
25) vlax-get-property 检索 VLA 对象的特性
26) vlax-invoke-method 调用指定的 ActiveX 方法
27) vlax-put-property 设置 ActiveX 对象的特性
28) vlax-vla-object->ename 将 VLA 对象转换为 ALISP 对象名
29) vlax-ldata-delete 从图形词典中删除 LISP 数据