OEReceptorGetCustomConstraints

bool OEReceptorGetCustomConstraints(const OEChem::OEMolBase& receptor,
                                    OECustomConstraintsBase& customConstraints)

Returns a copy of the receptor’s custom constraints

It is only valid to call this function if receptor is a valid receptor (i.e., OEIsReceptor returns true).