API Reference > OdDAI Namespace > Classes > Model Class > Model Methods > getEntityExtent Method > Model::getEntityExtent Method (char *)
Model::getEntityExtent Method (char *)
Syntax
C++
OdDAIObjectIdSet* getEntityExtent(const char * entityName) const;
Parameters 
Description 
const char * entityName 
[in] An entity's name.  

A raw pointer to the array of identifiers of OdDAI objects that represent the extent collection.

Retrieves the collection of entities with the same type (entity's extent) as the entity with a specified name. The entity collection is represented with an array of OdDAI objects identifiers.

The method returns identifiers of all entities for which the isKindOf() method returns the same value as for the specified entity.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.