std-main-entity


Synopsis

(std-main-entity <ele>)

Description

STD-MAIN-ENTITY returns the main entity object of an entity or subentity. In case of entity it is the same as (STD-ENTITY), if ele is a subentity of a complex object (VERTEX, ATTRIB, ATTDEF, ...) it returns the main entity of the complex object, (the INSERT, BLOCK or POLYLINE.)

It accepts entity types, entget-lists or entsel picklists.

Arguments

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

Return Value

A lisp atom of type ENAME or nil.

Side Effects

None.

Module

(std-require 'STDENT)

Defined in STDENT