OEReadDesignUnit
Attention
This API is currently available in C++ and Python.
OEReadDesignUnit(fname: str, du: OEDesignUnit) -> bool
OEReadDesignUnit(ifs: oeistream, du: OEDesignUnit, type: int) -> bool
Read the contents of the file named fname into an OEDesignUnit named
du. Returns true if an OEDesignUnit was read successfully, and false otherwise.
An overload is provided to take any arbitrary oeistream.
See also
OEDesignUnit class
OEIsReadableDesignUnitfunctionOEWriteDesignUnitfunction