vlax-get-property


(vlax-get-property vlaObject property [ options ...] )

This function returns the value of property for the vlaObject object.

Arguments

vlaObject  (vla-object) the COM object to query for property value
property  (string or symbol) the name of the property to be retrieved
options  (optional)  one of more arguments, specific for the particular property

Return

(any Lisp value)  returns COM or non-COM Lisp value, depending on property

Example

last entity is a LINE :
(setq ent (vlax-ename->vla-object (entlast)))  #<VLA-OBJECT IAcadLine 000000004E8E3928>
(vlax-get-property ent 'Layer)  "Border"

Remarks

you can use the (vlax-dump-object) function or inspect "axbricscadapp1.tlb" and "axbricscaddb1.tlb" by a COM Object browser



©  Bricsys NV. All rights reserved.