OEMakeDesignUnitFromPocketΒΆ
Attention
This is a preliminary API until Fall 2021 and may be improved based on user feedback. It is currently available in C++ and Python.
bool OEMakeDesignUnitFromPocket(OEBio::OEDesignUnit& du,
const OEBio::OEDesignUnit& designUnit,
const OESpruce::OEPocket& pocket)
Takes an existing OEDesignUnit object (designunit) and generates a new OEDesignUnit object (du), based on the input pocket. If the input designunit has a binding site defined, it will be reset in the output designunit (du) and switched to the site specified by the pocket.
See also
- OEPocket class
- OEFindPockets function
- OEMakeDesignUnits function
- OEMakeBioDesignUnits function
- OEMakeDesignUnit function