OEGetDesignUnitComponentID

Attention

This API is currently available in C++ and Python.

OEGetDesignUnitComponentID(componentName: str) -> int

This function returns numeric value from the OEDesignUnitComponents namespace given the input componentName string. It will return the OEDesignUnitComponents_Unknown constant if the input name does not match any known component ID.