API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > OdDbSubDMesh::getSubentPath Method
OdDbSubDMesh::getSubentPath Method
Syntax
C++
OdResult getSubentPath(OdInt32 nIndex, OdDb::SubentType type, OdDbFullSubentPathArray& subentPaths) const;
Parameters 
Description 
OdInt32 nIndex 
[in] Subentity index. If it's equal to -1, then all subentities of specified type will be returned as an array.  
OdDb::SubentType type 
[in] Type of the input subentity.  
OdDbFullSubentPathArray& subentPaths 
[out] Array of subentities.  

eOk if the operation completed successfully, or an appropriate error code otherwise.

Retrieves all subentity paths by specified index and subentity type. 

 

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