API Reference > OdDg Classes > OdDgSelectionSet Class > OdDgSelectionSet Methods > OdDgSelectionSet::getSubentity Method
OdDgSelectionSet::getSubentity Method
Syntax
C++
virtual bool getSubentity(const OdDgElementId& entityId, OdUInt32 i, OdDgFullSubentPath& path) const;
Parameters 
Description 
const OdDgElementId& entityId 
[in] entity id for the parent of the subentity  
OdUInt32 i 
[in] index of the subentity.  
OdDgFullSubentPath& path 
[out] Path to the subentity. 

Returns true if and only if "i" is valid index in the subentities array.

Returns the given subentity path inside the entity with the given id. (analogous to acedSSSubentName)

Copyright © 2002–2021. Open Design Alliance. All rights reserved.