API Reference > Functions > oddgSetLinkageHandler Function
oddgSetLinkageHandler Function
Syntax
C++
TG_EXPORT OdDgLinkageFactoryFunc oddgSetLinkageHandler(OdUInt16 primaryId, OdDgLinkageFactoryFunc pFactoryFunc);

DgAttributeLinkage.h

Parameters 
Description 
handlerId 
[in] Handler ID (type) of XAttribute.  
pXAttributeClass 
[in] Handler class
Returns pointer to previous XAttribute handler class.
TG_EXPORT OdRxClass* oddgSetLinkageHandler(OdUInt16 primaryId, OdRxClass* pXAttributeClass); 

Sets (registers) the Linkage handler class. 

 

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