entity:lumps
List of: Scheme Extensions
Subjects: Entity, Model Topology
Contents: Kernel

Action: Gets a list of all lumps in an entity or list of entities.

Filename: kern/kern_scm/ent_scm.cxx

APIs: api_get_lumps

Syntax: (entity:lumps entity-list)

Arg Types: entity-list entity | (entity ... )

Returns: (lump ... )

Description: This extension returns a list of the entity's lumps. If no lumps are found, this extension returns an empty list.


entity-list specifies an entity or an entity list that has to be queried.

Example: ; entity:lumps

; Create a solid block.

(define block1


(solid:block (position 0 0 0)


(position 15 10 5)))

;; block1

; Get a list of the block's lumps.

(entity:lumps block1)

;; (#[entity 3 1])
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0092.HTM