API Reference > OdDb Classes > OdDbSubentityOverrule Class > OdDbSubentityOverrule Methods > OdDbSubentityOverrule::subentPtr Method
OdDbSubentityOverrule::subentPtr Method
Syntax
C++
virtual OdDbEntityPtr subentPtr(const OdDbEntity* pSubject, const OdDbFullSubentPath& id);
Parameters 
Description 
const OdDbEntity* pSubject 
[in] A raw pointer to an entity.  
const OdDbFullSubentPath& id 
[in] A full subentity path object identifying the subentity. 

Overrules the OdDbEntity::subentPtr() method and calls it in the default implementation. This method returns a smart pointer to the subentity if successful. 

 

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