...if an object is write-enabled it automatically follows that it is not erased. The (not (vlax-erased-p)) check is therefore superfluous I think. The same applies to (vlax-read-enabled-p).
Good catch roy - I hadn't realised that erased objects caused
vlax-write-enabled-p to return
nil, thank you.
And what I meant is something else in regard to my reply to the OP .
I was referring to the data parameter that is for the object reactor itself and not the vlr-data , for instance , can we have more than one vla-Text ? a list of texts I mean ?
(setq *ex:circle->text (vlr-object-reactor (list VLA-Circle) VLA-Text '((:vlr-modified . ex:circle->text))))
The data parameter for the object reactor
is the data returned by
vlr-data.
Therefore, yes - this data can be any AutoLISP data: a string, double, integer, object, entity, symbol or a list of any of these data types.