API Reference > OdDb Classes > OdDbEvalConnectable Class > OdDbEvalConnectable Methods > OdDbEvalConnectable::connectionAllowed Method
OdDbEvalConnectable::connectionAllowed Method
Syntax
C++
virtual bool connectionAllowed(const OdString& thisConnectionName, OdDbEvalNodeId sourceConnectableId, const OdString& sourceConnectionName) const;
Parameters 
Description 
const OdString& thisConnectionName 
[in] Connection name on this object.  
OdDbEvalNodeId sourceConnectableId 
[in] Object ID of the other Connectable object.  
const OdString& sourceConnectionName 
[in] Connection name on the other Connectable object. 

Returns true if and only if a connection is allowed from this Connectable object to the specified Connectable object.

Both objects must graph-resident. 

 

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