std-getexttype


Synopsis

(std-getexttype <ele>)

Description

Extended type string for special polylines and special blocks.

Adds new types:

"PFACE", "MESH", "3DPOLY", "SPLINE"

"SOLMESH", "SOLWIRE", "MINSERT", "XREF", "HATCH"

This is a improvement over STD-GETTYPE which returns only the entity type string, the dxf group code 0, which is POLYLINE for extended polyline entities and INSERT for extended blocks.

SOLMESH and SOLWIRE are currently not supported!

to be continued

It may be used with entity types, entget-lists or entsel picklists.

Note

The implementation calls 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

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

Return Value

Dependent on the dxf group. Either a string or a number 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