vla:get-property

说明:点操作符方式获取对象的属性,参数:sym vla对象的符号,str 用点表示的CAD对象层级的属性名。str的中首个类名需与sym对象的类一致。

用法:
 (vla:get-property sym str)

参数:1 sym : 未识别定义;2 str : 字符串;

返回值:any

示例:
(vla:get-property *ACAD* "application.preferences.drafting.autosnapmarkersize")