vlr-data-set
 
 
 

Overwrites application-specific data associated with a reactor

(vlr-data-set objdata)
NoteThe vlr-data-set function should be used with care to avoid creation of circular structures.

Arguments

obj

A VLR object representing the reactor object whose data is to be overwritten.

data

Any AutoLISP data.

Return Values

The data argument.

Examples

Return the application-specific data value attached to a reactor:

_$ (vlr-data circleReactor)
"Circle Reactor"

Replace the text string used to identify the reactor:

_$ (vlr-data-set circleReactor
"Circle Area Reactor")
"Circle Area Reactor"

Verify the change:

_$ (vlr-data circleReactor)
"Circle Area Reactor"