VBA中如何判断OBJECT的属性是否存在?
与LISP中函数vlax-property-available-p 相对应的VBA中的函数是哪个?或者是在VBA中如何判断OBJECT的属性是否存在?
dim blkref as acadblockreference,obj as object
if obj.objectname="acdbblockreference"" then
set blkref=obj
if blkref.HasAttributes=true then
msgbox "object include Attributes"
end if
end if
页:
[1]