std-getval


Synopsis

(std-getval <group> <ele>)

Description

STD-GETVAL is the general entity property accessor. It may be used with entity types, entget-lists or entsel picklists or any other list.

On dotted pair lists it returns the value of the group, in normal lists the rest behind the group, like (CDR (ASSOC group ele))

Note

The implementation might call STD-ENTGET on ename or entsel arguments which uses an entget caching mechanism, because entget is usually slow. But this speed gain may fool return values on deleted entities.

Arguments

group: any symbol, usually the number of a key in an entity association list, called "entget -list"

ele: Either an entity type, entget-list or entsel picklist or any other valid list.

Return Value

The value of the group or nil.

Side Effects

None. (It may set an internal *ENTGET-CACHE* symbol, but direct access is forbidden)

Module

(std-require 'STDENT)

Defined in STDENT