Share

vlr-data-set (AutoLISP)

Product Documentation
Intermediate

Overwrites application-specific data associated with a reactor

(vlr-data-set obj data)
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"

Was this information helpful?