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