API Reference > OdDb Classes > OdDbOsnapOverrule Class > OdDbOsnapOverrule Methods > OdDbOsnapOverrule::isContentSnappable Method
OdDbOsnapOverrule::isContentSnappable Method
Syntax
C++
virtual bool isContentSnappable(const OdDbEntity* pSubject);
Parameters 
Description 
const OdDbEntity* pSubject 
[in] A raw pointer to an entity. 

Returns True when it is a block entity which requires investigating the block definition, or False otherwise.

The application can override this function to inform the host application: don't investigate the compounded objects that use a block definition for osnap points. This method is not called for objects that don't use a block definition in the worldDraw() implementation. 

 

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