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

Action: Gets the top level owner of an entity.

Filename: kern/kern_scm/ent_scm.cxx

APIs: api_get_owner

Syntax: (entity:owner entity)

Arg Types: entity entity

Returns: entity

Description: Returns the top level owner of the specified entity.


entity specifies the entity that has to be queried.

Example: ; entity:owner

; Create a solid block.

(define block1


(solid:block (position 0 0 0)


(position 15 10 5)))

;; block1

; Determine its owner.

(entity:owner block1)

;; #[entity 2 1]

; Get the faces of the block.

(define faces1 (entity:faces block1))

;; faces1

; Determine the owner of a face.

(entity:owner (car faces1))

;; #[entity 2 1]
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0095.HTM