OEStringToPolymerType

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

unsigned OEStringToPolymerType(const std::string &)

Converts a string into a constant in the OEPolymerType namespace. Returns OEPolymerType.Undefined, if the string does not represent any of the specific polymer types.

See also