API Reference > OdDb Classes > OdDbSubentityOverrule Class > OdDbSubentityOverrule Methods > OdDbSubentityOverrule::getSubentClassId Method
OdDbSubentityOverrule::getSubentClassId Method
Syntax
C++
virtual OdResult getSubentClassId(const OdDbEntity* pSubject, const OdDbFullSubentPath& path, void* clsId);
Parameters 
Description 
const OdDbEntity* pSubject 
[in] A raw pointer to an entity.  
const OdDbFullSubentPath& path 
[in] A full subentity path object identifying the subentity.  
void* clsId 
[out] A pointer to the class description structure whose contents are set for the subentity. 

Overrules OdDbEntity::subGetSubentClassId() method and calls it in the default implementation. This method returns eOk if successful. 

 

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